From a11c0cdeb0b92778ba29e468337fcfa3e82bb75e Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 12 Mar 2022 11:21:50 -0600 Subject: Fix affe-regexp-compiler arguments --- init.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'init.el') 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." (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)) -- cgit 1.4.1-21-gabe81