From 04da3314d2d246264927f6e8bb1b0951ab876310 Mon Sep 17 00:00:00 2001 From: Protesilaos Stavrou Date: Tue, 23 Jul 2024 09:53:44 +0300 Subject: [PATCH] emacs: set consult-project-function to nil --- emacs/.emacs.d/prot-emacs-modules/prot-emacs-completion.el | 1 + emacs/.emacs.d/prot-emacs.org | 1 + 2 files changed, 2 insertions(+) diff --git a/emacs/.emacs.d/prot-emacs-modules/prot-emacs-completion.el b/emacs/.emacs.d/prot-emacs-modules/prot-emacs-completion.el index d72e69bf..b5c1d266 100644 --- a/emacs/.emacs.d/prot-emacs-modules/prot-emacs-completion.el +++ b/emacs/.emacs.d/prot-emacs-modules/prot-emacs-completion.el @@ -349,6 +349,7 @@ Development continues on GitHub with GitLab as a mirror.")) "-path */.git* -prune " "-or -path */.cache* -prune )")) (setq consult-preview-key 'any) + (setq consult-project-function nil) ; always work from the current directory (add-to-list 'consult-mode-histories '(vc-git-log-edit-mode . log-edit-comment-ring)) diff --git a/emacs/.emacs.d/prot-emacs.org b/emacs/.emacs.d/prot-emacs.org index 0636fbcd..be7c754b 100644 --- a/emacs/.emacs.d/prot-emacs.org +++ b/emacs/.emacs.d/prot-emacs.org @@ -4357,6 +4357,7 @@ Also check: [[#h:e0f9c30e-3a98-4479-b709-7008277749e4][The =prot-emacs-search.el "-path */.git* -prune " "-or -path */.cache* -prune )")) (setq consult-preview-key 'any) + (setq consult-project-function nil) ; always work from the current directory (add-to-list 'consult-mode-histories '(vc-git-log-edit-mode . log-edit-comment-ring))