diff options
-rw-r--r-- | init.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/init.el b/init.el index 42cac67..9f6cb41 100644 --- a/init.el +++ b/init.el | |||
@@ -818,9 +818,10 @@ They are completed by \"M-x TAB\" only in Tramp debug buffers." | |||
818 | (and (executable-find "find") | 818 | (and (executable-find "find") |
819 | (executable-find "grep")))) | 819 | (executable-find "grep")))) |
820 | (:load-after consult orderless vertico) | 820 | (:load-after consult orderless vertico) |
821 | (setq affe-regexp-compiler (defun affe-orderless-regexp-compiler (input _type) | 821 | (setq affe-regexp-compiler |
822 | (setq input (orderless-pattern-compiler input)) | 822 | (defun affe-orderless-regexp-compiler (input &rest _) |
823 | (cons input (lambda (str) (orderless--highlight input str))))) | 823 | (setq input (orderless-pattern-compiler input)) |
824 | (cons input (lambda (str) (orderless--highlight input str))))) | ||
824 | (with-eval-after-load 'affe | 825 | (with-eval-after-load 'affe |
825 | (setf (alist-get 'affe-grep vertico-multiform-commands) '(buffer) | 826 | (setf (alist-get 'affe-grep vertico-multiform-commands) '(buffer) |
826 | (alist-get 'affe-find vertico-multiform-commands) '(buffer)) | 827 | (alist-get 'affe-find vertico-multiform-commands) '(buffer)) |