[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 5840e4d 6/9: org-element-cache Do not make headline
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 5840e4d 6/9: org-element-cache Do not make headline non-robust after changes at :end |
Date: |
Wed, 15 Dec 2021 23:57:30 -0500 (EST) |
branch: externals/org
commit 5840e4d61abc9238c87e67e001fc79cef29100e6
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>
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.
---
lisp/org-element.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/org-element.el b/lisp/org-element.el
index 2e1c108..4ed2408 100644
--- a/lisp/org-element.el
+++ b/lisp/org-element.el
@@ -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))))))
- [elpa] externals/org updated (8908fba -> f0c474e), ELPA Syncer, 2021/12/15
- [elpa] externals/org 5840e4d 6/9: org-element-cache Do not make headline non-robust after changes at :end,
ELPA Syncer <=
- [elpa] externals/org f0c474e 9/9: test-org-element: Add new tests for org-element-cache, ELPA Syncer, 2021/12/15
- [elpa] externals/org 4bad221 8/9: test-org-element: Add new tests, ELPA Syncer, 2021/12/15
- [elpa] externals/org cfe4b17 2/9: org-element-cache: Optimise changed property drawer detection, ELPA Syncer, 2021/12/15
- [elpa] externals/org 6339c62 4/9: org-element-cache: Do not consider BEGIN lines of elements sensitive, ELPA Syncer, 2021/12/15
- [elpa] externals/org 6998536 5/9: org-element-cache: Consider non-PROPERTIES drawers robust, ELPA Syncer, 2021/12/15
- [elpa] externals/org fd93ad6 3/9: org-element-cache: Do not treat inserting newline at :begin sensitive, ELPA Syncer, 2021/12/15
- [elpa] externals/org 23d8d59 1/9: ob-gnuplot: Use org backend when assigning table to variable, ELPA Syncer, 2021/12/15
- [elpa] externals/org 003968f 7/9: test-org-element: Rename cache-bugs test to cache-table, ELPA Syncer, 2021/12/15