diff options
author | David Morgan <djm_uk@protonmail.com> | 2023-11-11 13:32:43 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2023-11-11 13:32:43 +0000 |
commit | f9bedbaff6992c29a4c65d591cfbfe916df5afcd (patch) | |
tree | 62c26c6c4fb17011973eb84beac741672680f289 /.emacs.d/lisp | |
parent | b7db8f21d3b1cc91940bda23adf03c17d36adb52 (diff) | |
download | dotfiles-f9bedbaff6992c29a4c65d591cfbfe916df5afcd.tar.gz |
Update affe-orderless-regexp-compiler for latest orderless
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r-- | .emacs.d/lisp/init-search.el | 2 |
1 files changed, 1 insertions, 1 deletions
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-.")) |