mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 18:36:26 +00:00
org-element-cache Do not make headline non-robust after changes at :end
* lisp/org-element.el (org-element--cache-for-removal): When changes involve :end of a headline, allow it to be re-parsed synchronously.
This commit is contained in:
parent
69985367cd
commit
5840e4d61a
|
@ -6716,7 +6716,7 @@ known element in cache (it may start after END)."
|
|||
;; The change is not inside headline. Not
|
||||
;; updating here.
|
||||
(not (<= beg (org-element-property :begin up)))
|
||||
(not (>= end (org-element-property :end up)))
|
||||
(not (> end (org-element-property :end up)))
|
||||
(let ((current (org-with-point-at (org-element-property :begin up)
|
||||
(org-element-with-disabled-cache
|
||||
(org-element--current-element (point-max))))))
|
||||
|
|
Loading…
Reference in a new issue