Setting consult--display-buffer is not working

This commit is contained in:
David Morgan 2021-09-09 16:46:31 +01:00
parent 85a47654f4
commit 2c87630c9b
1 changed files with 2 additions and 2 deletions

View File

@ -284,8 +284,8 @@ DEFS is a plist associating completion categories to commands."
(when-let (project (project-current))
(project-root project))))
;; Switch perspective when switching buffer if needed
(setq consult--display-buffer #'persp-switch-to-buffer)
;; Switch perspective when switching buffer if needed ;; TODO this doesn't work
;; (setq consult--display-buffer #'persp-switch-to-buffer)
(defvar consult-initial-narrow-config
'((consult-buffer . ?x)