Update affe-orderless-regexp-compiler for latest orderless

This commit is contained in:
David Morgan 2023-11-11 13:32:43 +00:00
parent b7db8f21d3
commit f9bedbaff6
Signed by: djm
GPG Key ID: C171251002C200F2
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@
;; Configure Orderless
(defun affe-orderless-regexp-compiler (input _type _ignorecase)
(setq input (orderless-pattern-compiler input))
(cons input (lambda (str) (orderless--highlight input str))))
(cons input (apply-partially #'orderless--highlight input t)))
(setq affe-regexp-compiler #'affe-orderless-regexp-compiler)
;; Manual preview key for `affe-grep'
(consult-customize affe-grep :preview-key (kbd "M-."))