Fix: (org-ql-find) Pop to buffer then go to position
Seems that selecting the window after going to the position can sometimes break (probably because of the window point).
This commit is contained in:
parent
72b9934d1f
commit
4f62ba3bd6
1 changed files with 1 additions and 2 deletions
|
|
@ -76,9 +76,8 @@ single predicate)."
|
||||||
:query-filter query-filter
|
:query-filter query-filter
|
||||||
:prompt prompt)))
|
:prompt prompt)))
|
||||||
(set-buffer (marker-buffer marker))
|
(set-buffer (marker-buffer marker))
|
||||||
|
(pop-to-buffer (current-buffer) org-ql-find-display-buffer-action)
|
||||||
(goto-char marker)
|
(goto-char marker)
|
||||||
(display-buffer (current-buffer) org-ql-find-display-buffer-action)
|
|
||||||
(select-window (get-buffer-window (current-buffer)))
|
|
||||||
(run-hook-with-args 'org-ql-find-goto-hook)))
|
(run-hook-with-args 'org-ql-find-goto-hook)))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue