Function: global-semantic-idle-scheduler-mode
global-semantic-idle-scheduler-mode is an interactive and
byte-compiled function defined in idle.el.gz.
Signature
(global-semantic-idle-scheduler-mode &optional ARG)
Documentation
Toggle global use of option semantic-idle-scheduler-mode(var)/semantic-idle-scheduler-mode(fun).
This is a minor mode. If called interactively, toggle the Global
Semantic-Idle-Scheduler 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-idle-scheduler-mode)'.
The mode's hook is called both when the mode is enabled and when it is disabled.
The idle scheduler will automatically reparse buffers in idle
time, and then schedule other jobs setup with
semantic-idle-scheduler-add.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/semantic/idle.el.gz
;;;###autoload
(define-minor-mode global-semantic-idle-scheduler-mode
"Toggle global use of option `semantic-idle-scheduler-mode'.
The idle scheduler will automatically reparse buffers in idle
time, and then schedule other jobs setup with
`semantic-idle-scheduler-add'."
:global t
:group 'semantic
:group 'semantic-modes
;; When turning off, disable other idle modes.
(when (null global-semantic-idle-scheduler-mode)
(global-semantic-idle-summary-mode -1)
(global-semantic-idle-local-symbol-highlight-mode -1)
(global-semantic-idle-completions-mode -1))
(semantic-toggle-minor-mode-globally
'semantic-idle-scheduler-mode
(if global-semantic-idle-scheduler-mode 1 -1)))