Function: org-clock-remove-overlays

org-clock-remove-overlays is an autoloaded, interactive and byte-compiled function defined in org-clock.el.gz.

Signature

(org-clock-remove-overlays &optional BEG END NOREMOVE)

Documentation

Remove the occur highlights from the buffer.

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-clock.el.gz
;;;###autoload
(defun org-clock-remove-overlays (&optional _beg _end noremove)
  "Remove the occur highlights from the buffer.
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-clock-overlays)
    (setq org-clock-overlays nil)
    (unless noremove
      (remove-hook 'before-change-functions
		   #'org-clock-remove-overlays 'local))))