org-element: Re-enable cache
* lisp/org-element.el (org-element--cache-put): Effectively store
elements in cache.
This fixes a bug introduced in 0a5f5117a3
.
This commit is contained in:
parent
6e0e76308c
commit
5d8cc35e4a
|
@ -5032,7 +5032,8 @@ relative to ELEMENT and store it in the objects cache."
|
|||
(cond ((cdr keys) (org-element--cache-key (cdr keys)))
|
||||
(org-element--cache-sync-requests
|
||||
(aref (car org-element--cache-sync-requests) 0))))
|
||||
org-element--cache-sync-keys))))
|
||||
org-element--cache-sync-keys)))
|
||||
(avl-tree-enter org-element--cache element))
|
||||
;; Headlines are not stored in cache, so objects in titles are
|
||||
;; not stored either.
|
||||
((eq (org-element-type element) 'headline) nil)
|
||||
|
|
Loading…
Reference in New Issue