mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-22 13:48:38 +00:00
org.el (org-cycle-internal-local): Fix invalid search bound
* org.el (org-cycle-internal-local): Fix invalid search bound when `org-cycle-include-plain-lists' is set to 'integrate. Thanks to James Harkins for reporting this.
This commit is contained in:
parent
6f78b660f8
commit
b70ec7a29c
|
@ -6702,7 +6702,7 @@ in special contexts.
|
|||
(end (org-list-get-bottom-point struct)))
|
||||
(mapc (lambda (e) (org-list-set-item-visibility e struct 'folded))
|
||||
(org-list-get-all-items (point) struct prevs))
|
||||
(goto-char end))))))
|
||||
(goto-char (if (< end eos) end eos)))))))
|
||||
(message "CHILDREN")
|
||||
(save-excursion
|
||||
(goto-char eos)
|
||||
|
|
Loading…
Reference in a new issue