Fix affe-regexp-compiler arguments
This commit is contained in:
parent
979fa11e49
commit
a11c0cdeb0
7
init.el
7
init.el
|
@ -818,9 +818,10 @@ They are completed by \"M-x TAB\" only in Tramp debug buffers."
|
|||
(and (executable-find "find")
|
||||
(executable-find "grep"))))
|
||||
(:load-after consult orderless vertico)
|
||||
(setq affe-regexp-compiler (defun affe-orderless-regexp-compiler (input _type)
|
||||
(setq input (orderless-pattern-compiler input))
|
||||
(cons input (lambda (str) (orderless--highlight input str)))))
|
||||
(setq affe-regexp-compiler
|
||||
(defun affe-orderless-regexp-compiler (input &rest _)
|
||||
(setq input (orderless-pattern-compiler input))
|
||||
(cons input (lambda (str) (orderless--highlight input str)))))
|
||||
(with-eval-after-load 'affe
|
||||
(setf (alist-get 'affe-grep vertico-multiform-commands) '(buffer)
|
||||
(alist-get 'affe-find vertico-multiform-commands) '(buffer))
|
||||
|
|
Loading…
Reference in New Issue