about summary refs log tree commit diff stats
path: root/.emacs.d
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-02-28 11:40:02 +0000
committerDavid Morgan <djm_uk@protonmail.com>2022-02-28 11:40:02 +0000
commitf38d3402a468ffa331f1774f4b9d2615b057624c (patch)
treedb1bacd134d84a8389856a1891543ffea553a0f7 /.emacs.d
parent71c27e4418b88e39c325712139f591ab07185206 (diff)
downloaddotfiles-f38d3402a468ffa331f1774f4b9d2615b057624c.tar.gz
consult-project-root-function -> consult-project-function
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/init-minibuffer.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-minibuffer.el b/.emacs.d/lisp/init-minibuffer.el
index 2c0fcef..58d9a70 100644
--- a/.emacs.d/lisp/init-minibuffer.el
+++ b/.emacs.d/lisp/init-minibuffer.el
@@ -278,7 +278,7 @@ DEFS is a plist associating completion categories to commands."
 
   (setq consult-narrow-key "<")
 
-  (setq consult-project-root-function #'persp-current-project-root)
+  (setq consult-project-function (lambda (_) (persp-current-project-root)))
 
   ;; Switches perspective if we select a buffer from another perspective, but note that previewing
   ;; a buffer adds it to the current perspective, so preview should be disabled before removing