diff options
author | Case Duckworth | 2022-04-01 18:54:42 -0500 |
---|---|---|
committer | Case Duckworth | 2022-04-01 18:54:42 -0500 |
commit | f75a2fc9e3d5beb7d3c3ba97424db709b32f6573 (patch) | |
tree | cadce5d0a05431f3bae68bd05e3c270810fc4033 | |
parent | Merge branch 'main' of https://tildegit.org/acdw/emacs (diff) | |
download | emacs-f75a2fc9e3d5beb7d3c3ba97424db709b32f6573.tar.gz emacs-f75a2fc9e3d5beb7d3c3ba97424db709b32f6573.zip |
Fix arity of `consult--orderless-regex-compiler`
I might want to combine this and the one for affe.
-rw-r--r-- | lisp/+consult.el | 2 |
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) |