summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-05-10 13:56:44 -0500
committerCase Duckworth2022-05-10 13:56:44 -0500
commitf0a4617a5281245caeb7d7a20c3fb39193a61236 (patch)
tree68d6620bc4595039938cbc1128058f22689dc7d7
parentMerge branch 'main' of tildegit.org:acdw/emacs (diff)
downloademacs-f0a4617a5281245caeb7d7a20c3fb39193a61236.tar.gz
emacs-f0a4617a5281245caeb7d7a20c3fb39193a61236.zip
Remove deprecated consult-completing-read-multiple and add indicator
-rw-r--r--init.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/init.el b/init.el index 2be6de0..03040db 100644 --- a/init.el +++ b/init.el
@@ -70,6 +70,7 @@
70 (add-hook 'text-mode-hook #'turn-on-auto-fill) 70 (add-hook 'text-mode-hook #'turn-on-auto-fill)
71 (add-hook 'special-mode-hook #'turn-off-auto-fill) 71 (add-hook 'special-mode-hook #'turn-off-auto-fill)
72 ;; Advice 72 ;; Advice
73 (advice-add #'completing-read-multiple :filter-args #'+crm-indicator)
73 ;; https://old.reddit.com/r/emacs/comments/rlli0u/whats_your_favorite_defadvice/hph14un/ 74 ;; https://old.reddit.com/r/emacs/comments/rlli0u/whats_your_favorite_defadvice/hph14un/
74 (define-advice keyboard-escape-quit (:around (fn &rest r)) 75 (define-advice keyboard-escape-quit (:around (fn &rest r))
75 "Don't close splits on `keyboard-escape-quit'." 76 "Don't close splits on `keyboard-escape-quit'."
@@ -1277,8 +1278,6 @@
1277 tab-always-indent 'complete 1278 tab-always-indent 'complete
1278 completion-in-region-function #'consult-completion-in-region) 1279 completion-in-region-function #'consult-completion-in-region)
1279 (advice-add #'register-preview :override #'consult-register-window) 1280 (advice-add #'register-preview :override #'consult-register-window)
1280 (advice-add #'completing-read-multiple :override
1281 #'consult-completing-read-multiple)
1282 (dolist (binding '(;; C-c bindings (mode-specific-map) 1281 (dolist (binding '(;; C-c bindings (mode-specific-map)
1283 ("C-c h" . consult-history) 1282 ("C-c h" . consult-history)
1284 ("C-c m" . consult-mode-command) 1283 ("C-c m" . consult-mode-command)