Function: semantic-decoration-unparsed-include-reference-reset

semantic-decoration-unparsed-include-reference-reset is a byte-compiled function defined in include.el.gz.

Signature

(semantic-decoration-unparsed-include-reference-reset TABLE)

Documentation

Refresh any highlighting in buffers referred to by TABLE.

If TABLE is not in a buffer, do nothing.

Aliases

semantic-decoration-unparsed-include-refrence-reset (obsolete since 30.1)

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/decorate/include.el.gz
(defun semantic-decoration-unparsed-include-reference-reset (table)
  "Refresh any highlighting in buffers referred to by TABLE.
If TABLE is not in a buffer, do nothing."
  ;; This cache removal may seem odd in that we are "creating one", but
  ;; since we can't get in the fcn unless one exists, this ought to be
  ;; ok.
  (let ((c (semanticdb-cache-get
	    table 'semantic-decoration-unparsed-include-cache)))
    (semanticdb-cache-remove table c))

  (let ((buf (semanticdb-in-buffer-p table)))
    (when buf
      (semantic-decorate-add-pending-decoration
       'semantic-decoration-unparsed-include-do-reset
       buf)
      )))