about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-search.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-09-04 16:03:40 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-09-04 16:03:40 +0100
commitfa0fec9a4e2e805f8db832fa62e9d44e3e5869b8 (patch)
tree3e283b2b4c67f08f89f18e3a06a6731e2f80de01 /.emacs.d/lisp/init-search.el
parentbea6ac093acf89f8853c1a3bd3ab117fc4600cab (diff)
downloaddotfiles-fa0fec9a4e2e805f8db832fa62e9d44e3e5869b8.tar.gz
Fix affe config for orderless change
Diffstat (limited to '.emacs.d/lisp/init-search.el')
-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 4b009df..f471d0e 100644
--- a/.emacs.d/lisp/init-search.el
+++ b/.emacs.d/lisp/init-search.el
@@ -187,7 +187,7 @@
   (setq affe-grep-command (replace-regexp-in-string "rg" "rg -Suu" affe-grep-command))
   ;; Configure Orderless
   (defun affe-orderless-regexp-compiler (input _type _ignorecase)
-    (setq input (orderless-pattern-compiler input))
+    (setq input (cdr (orderless-compile input)))
     (cons input (apply-partially #'orderless--highlight input t)))
   (setq affe-regexp-compiler #'affe-orderless-regexp-compiler)
   ;; Manual preview key for `affe-grep'