aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2009-09-05 23:25:26 +0000
committerChong Yidong2009-09-05 23:25:26 +0000
commitcd23a4d304a9ce6bab50a123ed67ecd407902891 (patch)
treebf28aa62928bf19dae5622ea6364af8a26e512e7
parente076d49f5635d080591fc5ac7ebf152732a34249 (diff)
downloademacs-cd23a4d304a9ce6bab50a123ed67ecd407902891.tar.gz
emacs-cd23a4d304a9ce6bab50a123ed67ecd407902891.zip
lisp/cedet/semantic/idle.el: Add local vars for autoloading.
(global-semantic-idle-scheduler-mode) (semantic-idle-scheduler-mode): Autoload.
-rw-r--r--lisp/cedet/semantic/idle.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/cedet/semantic/idle.el b/lisp/cedet/semantic/idle.el
index 237ca9e427a..af96b26a9c5 100644
--- a/lisp/cedet/semantic/idle.el
+++ b/lisp/cedet/semantic/idle.el
@@ -128,6 +128,7 @@ unlikely the user would be ready to type again right away."
128;; The minor mode portion of this code just sets up the minor mode 128;; The minor mode portion of this code just sets up the minor mode
129;; which does the initial scheduling of the idle timers. 129;; which does the initial scheduling of the idle timers.
130;; 130;;
131;;;###autoload
131(defcustom global-semantic-idle-scheduler-mode nil 132(defcustom global-semantic-idle-scheduler-mode nil
132 "*If non-nil, enable global use of idle-scheduler mode." 133 "*If non-nil, enable global use of idle-scheduler mode."
133 :group 'semantic 134 :group 'semantic
@@ -138,6 +139,7 @@ unlikely the user would be ready to type again right away."
138 :set (lambda (sym val) 139 :set (lambda (sym val)
139 (global-semantic-idle-scheduler-mode (if val 1 -1)))) 140 (global-semantic-idle-scheduler-mode (if val 1 -1))))
140 141
142;;;###autoload
141(defun global-semantic-idle-scheduler-mode (&optional arg) 143(defun global-semantic-idle-scheduler-mode (&optional arg)
142 "Toggle global use of option `semantic-idle-scheduler-mode'. 144 "Toggle global use of option `semantic-idle-scheduler-mode'.
143The idle scheduler with automatically reparse buffers in idle time, 145The idle scheduler with automatically reparse buffers in idle time,
@@ -193,6 +195,7 @@ minor mode is enabled."
193 (semantic-idle-scheduler-setup-timers))) 195 (semantic-idle-scheduler-setup-timers)))
194 semantic-idle-scheduler-mode) 196 semantic-idle-scheduler-mode)
195 197
198;;;###autoload
196(defun semantic-idle-scheduler-mode (&optional arg) 199(defun semantic-idle-scheduler-mode (&optional arg)
197 "Minor mode to auto parse buffer following a change. 200 "Minor mode to auto parse buffer following a change.
198When this mode is off, a buffer is only rescanned for tokens when 201When this mode is off, a buffer is only rescanned for tokens when
@@ -973,4 +976,10 @@ Call `semantic-symref-hits-in-region' to identify local references."
973 976
974(provide 'semantic/idle) 977(provide 'semantic/idle)
975 978
979;; Local variables:
980;; generated-autoload-file: "loaddefs.el"
981;; generated-autoload-feature: semantic/loaddefs
982;; generated-autoload-load-name: "semantic/idle"
983;; End:
984
976;;; semantic-idle.el ends here 985;;; semantic-idle.el ends here