We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e54ba01 commit 5f70636Copy full SHA for 5f70636
org-ql-find.el
@@ -43,6 +43,11 @@
43
"Functions called when selecting an entry."
44
:type 'hook)
45
46
+(defcustom org-ql-find-display-buffer-action '(display-buffer-same-window)
47
+ "Display buffer action list for `org-ql-find'.
48
+See function `display-buffer'."
49
+ :type 'sexp)
50
+
51
;;;; Functions
52
53
;;;###autoload
@@ -80,7 +85,7 @@ single predicate)."
80
85
:prompt prompt)))
81
86
(with-current-buffer (marker-buffer marker)
82
87
(goto-char marker)
83
- (display-buffer (current-buffer))
88
+ (display-buffer (current-buffer) org-ql-find-display-buffer-action)
84
89
(select-window (get-buffer-window (current-buffer)))
90
(run-hook-with-args 'org-ql-find-goto-hook))))
91
0 commit comments