Variable: global-semanticdb-minor-mode

global-semanticdb-minor-mode is a customizable variable defined in db-mode.el.gz.

Value

nil

Documentation

Non-nil if Global Semanticdb minor mode is enabled.

See the global-semanticdb-minor-mode(var)/global-semanticdb-minor-mode(fun) command for a description of this minor mode. Setting this variable directly does not take effect; either customize it (see the info node (emacs)Easy Customization) or call the function global-semanticdb-minor-mode(var)/global-semanticdb-minor-mode(fun).

Key Bindings

Aliases

semanticdb-global-mode

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)))))