branch: externals/denote
commit 388227986b5cdd33033ad5276b7bcebeab37b7bc
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Make denote-query-links-display-buffer-action not fit to buffer
Because in that scenario it can take up almost the entire height of
the frame. Whereas this is less likely for backlinks.
---
denote.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/denote.el b/denote.el
index 590c503642..5d54cc0860 100644
--- a/denote.el
+++ b/denote.el
@@ -640,7 +640,8 @@ and/or the documentation string of `display-buffer'."
(defcustom denote-query-links-display-buffer-action
'((display-buffer-reuse-mode-window display-buffer-below-selected)
(mode . denote-query-mode)
- (window-height . fit-window-to-buffer))
+ (window-height . 0.3)
+ (preserve-size . (t . t)))
"The action used to display query links.
This is the same as `denote-backlinks-display-buffer-action'. Refer to
its documentation for the technicalities."