mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-24 22:02:52 +00:00
org-element: Bump AST version
* lisp/org-element.el (org-element-cache-reset): Bump AST version to
avoid clashes with previous caches after bfe1179dc
.
This commit is contained in:
parent
bfe1179dcb
commit
1c7444dc3a
|
@ -7435,12 +7435,12 @@ the cache persistence in the buffer."
|
|||
(when (and org-element-cache-persistent
|
||||
(buffer-file-name (current-buffer)))
|
||||
(org-persist-register
|
||||
'((elisp org-element--cache) (version "2.0"))
|
||||
'((elisp org-element--cache) (version "2.1"))
|
||||
(current-buffer))
|
||||
(org-persist-register
|
||||
'org-element--headline-cache
|
||||
(current-buffer)
|
||||
:inherit '((elisp org-element--cache) (version "2.0")))))
|
||||
:inherit '((elisp org-element--cache) (version "2.1")))))
|
||||
(setq-local org-element--cache-change-tic (buffer-chars-modified-tick))
|
||||
(setq-local org-element--cache-last-buffer-size (buffer-size))
|
||||
(setq-local org-element--cache-gapless nil)
|
||||
|
|
Loading…
Reference in a new issue