branch: externals/org
commit d6e6a9a3bc60359bc05af4d74fec4f610381d34d
Author: Ihor Radchenko <[email protected]>
Commit: Ihor Radchenko <[email protected]>
org-element.el: Silence compiler
---
lisp/org-element.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/lisp/org-element.el b/lisp/org-element.el
index 2106f56..874b25e 100644
--- a/lisp/org-element.el
+++ b/lisp/org-element.el
@@ -5834,6 +5834,12 @@ See `org-element--cache-interrupt-C-g'.")
"Current number of `org-element--cache-sync' calls.
See `org-element--cache-interrupt-C-g'.")
+(defvar org-element--cache-change-warning nil
+ "Non-nil when a sensitive line is about to be changed.
+It is a symbol among nil, t, or a number representing smallest level of
+modified headline. The level considers headline levels both before
+and after the modification.")
+
(defun org-element--cache-sync (buffer &optional threshold future-change)
"Synchronize cache with recent modification in BUFFER.
@@ -6503,12 +6509,6 @@ latex-environment boundary. When such a line is
modified,
structure changes in the document may propagate in the whole
section, possibly making cache invalid.")
-(defvar org-element--cache-change-warning nil
- "Non-nil when a sensitive line is about to be changed.
-It is a symbol among nil, t, or a number representing smallest level of
-modified headline. The level considers headline levels both before
-and after the modification.")
-
(defun org-element--cache-before-change (beg end)
"Detect modifications in sensitive parts of Org buffer.
BEG and END are the beginning and end of the range of changed