Kaynağa Gözat

org-element.el: Silence compiler

Ihor Radchenko 4 yıl önce
ebeveyn
işleme
d6e6a9a3bc
1 değiştirilmiş dosya ile 6 ekleme ve 6 silme
  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.
   "Current number of `org-element--cache-sync' calls.
 See `org-element--cache-interrupt-C-g'.")
 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)
 (defun org-element--cache-sync (buffer &optional threshold future-change)
   "Synchronize cache with recent modification in BUFFER.
   "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
 structure changes in the document may propagate in the whole
 section, possibly making cache invalid.")
 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)
 (defun org-element--cache-before-change (beg end)
   "Detect modifications in sensitive parts of Org buffer.
   "Detect modifications in sensitive parts of Org buffer.
 BEG and END are the beginning and end of the range of changed
 BEG and END are the beginning and end of the range of changed