branch: externals/denote
commit 74c7aeeb1b76b36f30f1cfa0a744c8aaf24d6ae5
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Explain why denote-grep display-buffer action is different
---
denote.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/denote.el b/denote.el
index c66507f881..6e7cf1beba 100644
--- a/denote.el
+++ b/denote.el
@@ -5971,6 +5971,9 @@ When called from Lisp, COMPONENT has the same meaning as
in the function
"Minibuffer history of content searches performed by `denote-grep'.
Also see `denote-grep-file-regexp-history'.")
+;; NOTE 2025-12-12: Unlike `denote-query-links-display-buffer-action'
+;; we want `denote-grep' to behave like `denote-dired', whereby
+;; `dired' normally works in the current window.
(defcustom denote-grep-display-buffer-action
'((display-buffer-same-window)
(mode . denote-query-mode))