Function: global-semantic-decoration-mode
global-semantic-decoration-mode is an autoloaded, interactive and
byte-compiled function defined in mode.el.gz.
Signature
(global-semantic-decoration-mode &optional ARG)
Documentation
Toggle global use of option semantic-decoration-mode(var)/semantic-decoration-mode(fun).
Decoration mode turns on all active decorations as specified
by semantic-decoration-styles.
This is a global minor mode. If called interactively, toggle the
Global Semantic-Decoration mode mode. If the prefix argument
is positive, enable the mode, and if it is zero or negative,
disable the mode.
If called from Lisp, toggle the mode if ARG is toggle. Enable
the mode if ARG is nil, omitted, or is a positive number.
Disable the mode if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate (default-value \=global-semantic-decoration-mode)'.
The mode's hook is called both when the mode is enabled and when it is disabled.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/decorate/mode.el.gz
;;; DECORATION MODE
;;
;; Generic mode for handling basic highlighting and decorations.
;;
;;;###autoload
(define-minor-mode global-semantic-decoration-mode
"Toggle global use of option `semantic-decoration-mode'.
Decoration mode turns on all active decorations as specified
by `semantic-decoration-styles'."
:global t :group 'semantic :group 'semantic-modes
;; Not needed because it's autoloaded instead.
;; :require 'semantic/decorate/mode
(semantic-toggle-minor-mode-globally
'semantic-decoration-mode (if global-semantic-decoration-mode 1 -1)))