summary refs log tree commit diff stats
path: root/lisp
diff options
context:
space:
mode:
authorCase Duckworth2022-04-01 18:54:42 -0500
committerCase Duckworth2022-04-01 18:54:42 -0500
commitf75a2fc9e3d5beb7d3c3ba97424db709b32f6573 (patch)
treecadce5d0a05431f3bae68bd05e3c270810fc4033 /lisp
parentMerge branch 'main' of https://tildegit.org/acdw/emacs (diff)
downloademacs-f75a2fc9e3d5beb7d3c3ba97424db709b32f6573.tar.gz
emacs-f75a2fc9e3d5beb7d3c3ba97424db709b32f6573.zip
Fix arity of `consult--orderless-regex-compiler`
I might want to combine this and the one for affe.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/+consult.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/+consult.el b/lisp/+consult.el index 0f5bf45..dc06ad5 100644 --- a/lisp/+consult.el +++ b/lisp/+consult.el
@@ -12,7 +12,7 @@
12;;; Cribbed functions 12;;; Cribbed functions
13;; https://github.com/minad/consult/wiki 13;; https://github.com/minad/consult/wiki
14 14
15(defun consult--orderless-regexp-compiler (input type) 15(defun consult--orderless-regexp-compiler (input type &rest _)
16 (setq input (orderless-pattern-compiler input)) 16 (setq input (orderless-pattern-compiler input))
17 (cons 17 (cons
18 (mapcar (lambda (r) (consult--convert-regexp r type)) input) 18 (mapcar (lambda (r) (consult--convert-regexp r type)) input)