Function: org-remove-occur-highlights

org-remove-occur-highlights is an interactive and byte-compiled function defined in org.el.gz.

Signature

(org-remove-occur-highlights &optional BEG END NOREMOVE)

Documentation

Remove the occur highlights from the buffer.

BEG and END are ignored. If NOREMOVE is nil, remove this function from the before-change-functions in the current buffer.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-remove-occur-highlights (&optional _beg _end noremove)
  "Remove the occur highlights from the buffer.
BEG and END are ignored.  If NOREMOVE is nil, remove this function
from the `before-change-functions' in the current buffer."
  (interactive)
  (unless org-inhibit-highlight-removal
    (mapc #'delete-overlay org-occur-highlights)
    (setq org-occur-highlights nil)
    (setq org-occur-parameters nil)
    (unless noremove
      (remove-hook 'before-change-functions
		   'org-remove-occur-highlights 'local))))