about summary refs log tree commit diff stats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2023-11-11 13:32:43 +0000
committerDavid Morgan <djm_uk@protonmail.com>2023-11-11 13:32:43 +0000
commitf9bedbaff6992c29a4c65d591cfbfe916df5afcd (patch)
tree62c26c6c4fb17011973eb84beac741672680f289 /.emacs.d/lisp
parentb7db8f21d3b1cc91940bda23adf03c17d36adb52 (diff)
downloaddotfiles-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.el2
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-."))