forked from mirrors/org-mode
* lisp/org-element.el (org-element-cache-store-key): (org-element-cache-get-key): New functions to store and retrieve data associated with cached nodes. The data is stored inside :fragile-cache and :robust-cache node properties. (org-element--cache-shift-positions): Clear :fragile-cache when the contents boundaries are changed. Optimize when OFFSET is 0. * lisp/org-element.el (org-element--cache-process-request): Call `org-element--cache-shift-positions' even for 0 offset to account for :fragile-cache. * etc/ORG-NEWS (New API functions to store data within ~org-element-cache~): Announce the new API. * testing/lisp/test-org-element.el (test-org-element/cache-get-key): New test. |
||
---|---|---|
.. | ||
csl | ||
schema | ||
styles | ||
Makefile | ||
ORG-NEWS |