mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 21:07:54 +00:00
Fix org-fold--hide-drawers--overlays
This commit is contained in:
parent
f813f10818
commit
3fba34900e
|
@ -714,7 +714,7 @@ Return a non-nil value when toggling is successful."
|
|||
"Hide all drawers between BEGIN and END."
|
||||
(save-excursion
|
||||
(goto-char begin)
|
||||
(while (re-search-forward org-drawer-regexp end t)
|
||||
(while (and (< (point) end) (re-search-forward org-drawer-regexp end t))
|
||||
(let* ((pair (get-char-property-and-overlay (line-beginning-position)
|
||||
'invisible))
|
||||
(o (cdr-safe pair)))
|
||||
|
|
Loading…
Reference in a new issue