Remove deprecated consult-completing-read-multiple and add indicator
This commit is contained in:
parent
a0b156b7e1
commit
f0a4617a52
3
init.el
3
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)
|
||||
|
|
Loading…
Reference in New Issue