From 755bd8b646896b1ffd2c90a1d1842bd08bf425c1 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 2 Apr 2022 13:55:59 -0500 Subject: Fix arity of affe-orderless-regexp-compiler --- init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 8762175..2fcc51d 100644 --- a/init.el +++ b/init.el @@ -841,11 +841,11 @@ 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 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-loads (affe vertico-multiform) - (setq affe-regexp-compiler (defun affe-orderless-regexp-compiler (input _type) + (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))))) (setf (alist-get 'affe-grep vertico-multiform-commands) '(buffer) -- cgit 1.4.1-21-gabe81