]> git.eshelyaron.com Git - emacs.git/commitdiff
lisp/cedet/semantic/idle.el: Add local vars for autoloading.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 5 Sep 2009 23:25:26 +0000 (23:25 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 5 Sep 2009 23:25:26 +0000 (23:25 +0000)
(global-semantic-idle-scheduler-mode)
(semantic-idle-scheduler-mode): Autoload.

lisp/cedet/semantic/idle.el

index 237ca9e427aee1cc369aabe91a2811e18b1dd3e9..af96b26a9c55825f77a9a1ed2cf3a9642d92be8d 100644 (file)
@@ -128,6 +128,7 @@ unlikely the user would be ready to type again right away."
 ;; The minor mode portion of this code just sets up the minor mode
 ;; which does the initial scheduling of the idle timers.
 ;;
+;;;###autoload
 (defcustom global-semantic-idle-scheduler-mode nil
   "*If non-nil, enable global use of idle-scheduler mode."
   :group 'semantic
@@ -138,6 +139,7 @@ unlikely the user would be ready to type again right away."
   :set (lambda (sym val)
          (global-semantic-idle-scheduler-mode (if val 1 -1))))
 
+;;;###autoload
 (defun global-semantic-idle-scheduler-mode (&optional arg)
   "Toggle global use of option `semantic-idle-scheduler-mode'.
 The idle scheduler with automatically reparse buffers in idle time,
@@ -193,6 +195,7 @@ minor mode is enabled."
         (semantic-idle-scheduler-setup-timers)))
   semantic-idle-scheduler-mode)
 
+;;;###autoload
 (defun semantic-idle-scheduler-mode (&optional arg)
   "Minor mode to auto parse buffer following a change.
 When 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."
 
 (provide 'semantic/idle)
 
+;; Local variables:
+;; generated-autoload-file: "loaddefs.el"
+;; generated-autoload-feature: semantic/loaddefs
+;; generated-autoload-load-name: "semantic/idle"
+;; End:
+
 ;;; semantic-idle.el ends here