org-element.el: Silence compiler

This commit is contained in:
Ihor Radchenko 2021-12-17 20:23:11 +08:00
parent 895e0baadf
commit d6e6a9a3bc
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 6 additions and 6 deletions

View File

@ -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