Function: global-semanticdb-minor-mode
global-semanticdb-minor-mode is an autoloaded, interactive and
byte-compiled function defined in db-mode.el.gz.
Signature
(global-semanticdb-minor-mode &optional ARG)
Documentation
Toggle Semantic DB mode.
This is a minor mode. If called interactively, toggle the Global
Semanticdb minor 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-semanticdb-minor-mode)'.
The mode's hook is called both when the mode is enabled and when it is disabled.
In Semantic DB mode, Semantic parsers store results in a database, which can be saved for future Emacs sessions.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/db-mode.el.gz
;;;###autoload
(define-minor-mode global-semanticdb-minor-mode
"Toggle Semantic DB mode.
In Semantic DB mode, Semantic parsers store results in a
database, which can be saved for future Emacs sessions."
:global t
:group 'semantic
(if global-semanticdb-minor-mode
;; Enable
(dolist (elt semanticdb-hooks)
(add-hook (cadr elt) (car elt)))
;; Disable
(dolist (elt semanticdb-hooks)
(remove-hook (cadr elt) (car elt)))))