mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-20 16:11:07 -05:00
Unfold hidden subtree after doom-completing-read-org-headings
Affects doom/help* commands, as well as +default/org-notes-headlines, and others (any command that uses doom-completing-read-org-headings to search org files).
This commit is contained in:
@@ -174,7 +174,12 @@ selection of all minor-modes, active or not."
|
|||||||
(cond ((functionp location)
|
(cond ((functionp location)
|
||||||
(funcall location))
|
(funcall location))
|
||||||
(location
|
(location
|
||||||
(goto-char location))))
|
(goto-char location)))
|
||||||
|
(ignore-errors
|
||||||
|
(when (outline-invisible-p)
|
||||||
|
(save-excursion
|
||||||
|
(outline-previous-visible-heading 1)
|
||||||
|
(org-show-subtree)))))
|
||||||
(user-error "Aborted"))))
|
(user-error "Aborted"))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
Reference in New Issue
Block a user