Variable: org-remove-highlights-with-change
org-remove-highlights-with-change is a customizable variable defined
in org.el.gz.
Value
t
Documentation
Non-nil means any change to the buffer will remove temporary highlights.
Such highlights are created by org-occur and org-clock-display.
When nil, C-c C-c (org-ctrl-c-ctrl-c) needs to be used to get rid of the highlights.
The highlights created by org-latex-preview always need
C-c C-x C-l (org-latex-preview) to be removed.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defcustom org-remove-highlights-with-change t
"Non-nil means any change to the buffer will remove temporary highlights.
\\<org-mode-map>\
Such highlights are created by `org-occur' and `org-clock-display'.
When nil, `\\[org-ctrl-c-ctrl-c]' needs to be used \
to get rid of the highlights.
The highlights created by `org-latex-preview' always need
`\\[org-latex-preview]' to be removed."
:group 'org-sparse-trees
:group 'org-time
:type 'boolean)