Fix: (org-ql-find) Select buffer

Thanks again to Thomas Bergheim (@bergheim).
This commit is contained in:
Adam Porter 2022-07-14 13:05:42 -05:00
parent d46e69b0fc
commit a986e360c3

View file

@ -211,6 +211,7 @@ single predicate)."
(with-current-buffer (marker-buffer marker) (with-current-buffer (marker-buffer marker)
(goto-char marker) (goto-char marker)
(display-buffer (current-buffer)) (display-buffer (current-buffer))
(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