From f0a4617a5281245caeb7d7a20c3fb39193a61236 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Tue, 10 May 2022 13:56:44 -0500 Subject: Remove deprecated consult-completing-read-multiple and add indicator --- init.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 2be6de0..03040db 100644 --- a/init.el +++ b/init.el @@ -70,6 +70,7 @@ (add-hook 'text-mode-hook #'turn-on-auto-fill) (add-hook 'special-mode-hook #'turn-off-auto-fill) ;; Advice + (advice-add #'completing-read-multiple :filter-args #'+crm-indicator) ;; https://old.reddit.com/r/emacs/comments/rlli0u/whats_your_favorite_defadvice/hph14un/ (define-advice keyboard-escape-quit (:around (fn &rest r)) "Don't close splits on `keyboard-escape-quit'." @@ -1277,8 +1278,6 @@ tab-always-indent 'complete completion-in-region-function #'consult-completion-in-region) (advice-add #'register-preview :override #'consult-register-window) - (advice-add #'completing-read-multiple :override - #'consult-completing-read-multiple) (dolist (binding '(;; C-c bindings (mode-specific-map) ("C-c h" . consult-history) ("C-c m" . consult-mode-command) -- cgit 1.4.1-21-gabe81