Function: semantic-decorate-clear-tag

semantic-decorate-clear-tag is a byte-compiled function defined in mode.el.gz.

Signature

(semantic-decorate-clear-tag TAG &optional DECO)

Documentation

Remove decorations from TAG.

If optional argument DECO is non-nil, remove only that decoration.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/decorate/mode.el.gz
(defun semantic-decorate-clear-tag (tag &optional deco)
  "Remove decorations from TAG.
If optional argument DECO is non-nil, remove only that decoration."
  (cl-assert (or (null deco) (semantic-decoration-p deco)))
  ;; Clear primary decorations.
  ;; For now, just unhighlight the tag.  How to deal with other
  ;; primary decorations like invisibility, etc. ?  Maybe just
  ;; restoring default values will suffice?
  (semantic-unhighlight-tag tag)
  (semantic-tag-delete-secondary-overlay
   tag (or deco 'semantic-decoration)))