Ver código fonte

org-element.el: Silence compiler

Ihor Radchenko 3 anos atrás
pai
commit
d6e6a9a3bc
1 arquivos alterados com 6 adições e 6 exclusões
  1. 6 6
      lisp/org-element.el

+ 6 - 6
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