Function: semantic-momentary-highlight-tag
semantic-momentary-highlight-tag is a byte-compiled function defined
in decorate.el.gz.
Signature
(semantic-momentary-highlight-tag TAG &optional FACE)
Documentation
Highlight TAG, removing highlighting when the user hits a key.
Optional argument FACE is the face to use for highlighting.
If FACE is not specified, then highlight will be used.
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/decorate.el.gz
;;; Momentary Highlighting - Whole Tag
(defun semantic-momentary-highlight-tag (tag &optional face)
"Highlight TAG, removing highlighting when the user hits a key.
Optional argument FACE is the face to use for highlighting.
If FACE is not specified, then `highlight' will be used."
(when (semantic-tag-with-position-p tag)
(if (not (overlayp (semantic-tag-overlay tag)))
;; No overlay, but a position. Highlight the first line only.
(semantic-momentary-highlight-one-tag-line tag face)
;; The tag has an overlay, highlight the whole thing
(pulse-momentary-highlight-overlay (semantic-tag-overlay tag)
face)
)))