From f9bedbaff6992c29a4c65d591cfbfe916df5afcd Mon Sep 17 00:00:00 2001 From: David Morgan Date: Sat, 11 Nov 2023 13:32:43 +0000 Subject: Update affe-orderless-regexp-compiler for latest orderless --- .emacs.d/lisp/init-search.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.emacs.d/lisp') diff --git a/.emacs.d/lisp/init-search.el b/.emacs.d/lisp/init-search.el index 40d07d3..cd9a5b3 100644 --- a/.emacs.d/lisp/init-search.el +++ b/.emacs.d/lisp/init-search.el @@ -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-.")) -- cgit 1.4.1-2-gfad0