Function: semantic-decorate-add-pending-decoration

semantic-decorate-add-pending-decoration is a byte-compiled function defined in mode.el.gz.

Signature

(semantic-decorate-add-pending-decoration FCN &optional BUFFER)

Documentation

Add a pending decoration change represented by FCN.

Applies only to the current BUFFER. The setting of FCN will be removed after it is run.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/decorate/mode.el.gz
(defun semantic-decorate-add-pending-decoration (fcn &optional buffer)
  "Add a pending decoration change represented by FCN.
Applies only to the current BUFFER.
The setting of FCN will be removed after it is run."
  (save-excursion
    (when buffer (set-buffer buffer))
    (add-hook 'semantic-decorate-pending-decoration-hook fcn nil t)))