|
@@ -4882,7 +4882,7 @@ The following commands are available:
|
|
|
(org-element-cache-reset)
|
|
|
(when (and org-element-cache-persistent
|
|
|
org-element-use-cache)
|
|
|
- (org-persist-read 'org-element--cache (current-buffer)))
|
|
|
+ (org-persist-load 'org-element--cache (current-buffer) t))
|
|
|
;; Initialize macros templates.
|
|
|
(org-macro-initialize-templates)
|
|
|
;; Initialize radio targets.
|
|
@@ -4894,11 +4894,6 @@ The following commands are available:
|
|
|
(org-setup-filling)
|
|
|
;; Comments.
|
|
|
(org-setup-comments-handling)
|
|
|
- ;; Initialize cache.
|
|
|
- (org-element-cache-reset)
|
|
|
- (when (and org-element-cache-persistent
|
|
|
- org-element-use-cache)
|
|
|
- (org-persist-load 'org-element--cache (current-buffer) t))
|
|
|
;; Beginning/end of defun
|
|
|
(setq-local beginning-of-defun-function 'org-backward-element)
|
|
|
(setq-local end-of-defun-function
|