Function: semantic-decorate-flush-decorations
semantic-decorate-flush-decorations is a byte-compiled function
defined in mode.el.gz.
Signature
(semantic-decorate-flush-decorations &optional BUFFER)
Documentation
Flush decorations found in BUFFER.
BUFFER defaults to the current buffer. Should be used to flush decorations that might remain in BUFFER, for example, after tags have been refreshed.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/decorate/mode.el.gz
;;; Global setup of active decorations
;;
(defun semantic-decorate-flush-decorations (&optional buffer)
"Flush decorations found in BUFFER.
BUFFER defaults to the current buffer.
Should be used to flush decorations that might remain in BUFFER, for
example, after tags have been refreshed."
(with-current-buffer (or buffer (current-buffer))
(dolist (o (overlays-in (point-min) (point-max)))
(and (semantic-decoration-p o)
(delete-overlay o)))))