Function: semanticdb-toggle-global-mode

semanticdb-toggle-global-mode is an interactive and byte-compiled function defined in db-mode.el.gz.

Signature

(semanticdb-toggle-global-mode)

Documentation

Toggle use of the Semantic Database feature.

Update the environment of Semantic enabled buffers accordingly.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/db-mode.el.gz
(defun semanticdb-toggle-global-mode ()
  "Toggle use of the Semantic Database feature.
Update the environment of Semantic enabled buffers accordingly."
  (interactive)
  (if (semanticdb-minor-mode-p)
      ;; Save databases before disabling semanticdb.
      (semanticdb-save-all-db))
  ;; Toggle semanticdb minor mode.
  (global-semanticdb-minor-mode 'toggle))