Variable: org-element--cache-non-modifying-commands

org-element--cache-non-modifying-commands is a variable defined in org-element.el.gz.

Value

(org-agenda org-agenda-redo org-sparse-tree org-occur org-columns
	    org-columns-redo org-columns-new org-columns-delete
	    org-columns-compute org-columns-insert-dblock
	    org-agenda-columns org-ctrl-c-ctrl-c)

Documentation

List of commands that are not expected to change the cache state.

This variable is used to determine when re-parsing buffer is not going to slow down the command.

If the commands end up modifying the cache, the worst case scenario is performance drop. So, advising these commands is safe. Yet, it is better to remove the commands advised in such a way from this list.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-element.el.gz
(defvar org-element--cache-non-modifying-commands
  '(org-agenda
    org-agenda-redo
    org-sparse-tree
    org-occur
    org-columns
    org-columns-redo
    org-columns-new
    org-columns-delete
    org-columns-compute
    org-columns-insert-dblock
    org-agenda-columns
    org-ctrl-c-ctrl-c)
  "List of commands that are not expected to change the cache state.

This variable is used to determine when re-parsing buffer is not going
to slow down the command.

If the commands end up modifying the cache, the worst case scenario is
performance drop.  So, advising these commands is safe.  Yet, it is
better to remove the commands advised in such a way from this list.")