Function: semantic-highlight-tag

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

Signature

(semantic-highlight-tag TAG &optional FACE)

Documentation

Specify that TAG should be highlighted.

Optional FACE specifies the face to use.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/decorate.el.gz
;;; Code:

;;; Highlighting Basics
(defun semantic-highlight-tag (tag &optional face)
  "Specify that TAG should be highlighted.
Optional FACE specifies the face to use."
  (let ((o (semantic-tag-overlay tag)))
    (overlay-put o 'old-face
		 (cons (overlay-get o 'face)
		       (overlay-get o 'old-face)))
    (overlay-put o 'face (or face 'semantic-tag-highlight-face))))