summaryrefslogtreecommitdiff
path: root/lisp/org/org-element.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2022-12-10 16:59:46 -0500
committerKyle Meyer <kyle@kyleam.com>2022-12-10 16:59:46 -0500
commit01154166057e7cf289318a8cfa4d43716f26ca20 (patch)
tree79dcc7b1c12e53ae852ae556541931fdd1a7ae66 /lisp/org/org-element.el
parent26a8644a58768281bae249121f4f18d7b0661c44 (diff)
downloademacs-01154166057e7cf289318a8cfa4d43716f26ca20.tar.gz
Update to Org 9.6-31-g954a95
Diffstat (limited to 'lisp/org/org-element.el')
-rw-r--r--lisp/org/org-element.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/org/org-element.el b/lisp/org/org-element.el
index 48ede9c5289..1f36775a7b5 100644
--- a/lisp/org/org-element.el
+++ b/lisp/org/org-element.el
@@ -5717,7 +5717,11 @@ This function assumes `org-element--headline-cache' is a valid AVL tree."
;; `combine-change-calls' because the buffer is potentially
;; changed without notice (the change will be registered
;; after exiting the `combine-change-calls' body though).
- (memq #'org-element--cache-after-change after-change-functions))))))
+ (catch :inhibited
+ (org-fold-core-cycle-over-indirect-buffers
+ (unless (memq #'org-element--cache-after-change after-change-functions)
+ (throw :inhibited nil)))
+ t))))))
;; FIXME: Remove after we establish that hashing is effective.
(defun org-element-cache-hash-show-statistics ()