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:
parent
a923f93cab
commit
5b190c9eca
1 changed files with 6 additions and 1 deletions
|
@ -174,7 +174,12 @@ selection of all minor-modes, active or not."
|
|||
(cond ((functionp location)
|
||||
(funcall 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"))))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue