Function: global-semantic-show-parser-state-mode
global-semantic-show-parser-state-mode is an autoloaded, interactive
and byte-compiled function defined in util-modes.el.gz.
Signature
(global-semantic-show-parser-state-mode &optional ARG)
Documentation
Toggle global use of option semantic-show-parser-state-mode(var)/semantic-show-parser-state-mode(fun).
This is a global minor mode. If called interactively, toggle the
Global Semantic-Show-Parser-State 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-show-parser-state-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/util-modes.el.gz
;;;;
;;;; Minor mode to display the parser state in the modeline.
;;;;
;;;###autoload
(define-minor-mode global-semantic-show-parser-state-mode
"Toggle global use of option `semantic-show-parser-state-mode'."
:global t :group 'semantic
;; Not needed because it's autoloaded instead.
;; :require 'semantic/util-modes
(semantic-toggle-minor-mode-globally
'semantic-show-parser-state-mode
(if global-semantic-show-parser-state-mode 1 -1)))