# HG changeset patch # User Chong Yidong # Date 1252193126 0 # Node ID e4788b39543dc531dc872d42452da0c562e2dd3e # Parent de6e9d927035d205a3570fed40fc1f133679ef12 lisp/cedet/semantic/idle.el: Add local vars for autoloading. (global-semantic-idle-scheduler-mode) (semantic-idle-scheduler-mode): Autoload. diff -r de6e9d927035 -r e4788b39543d lisp/cedet/semantic/idle.el --- a/lisp/cedet/semantic/idle.el Sat Sep 05 23:22:02 2009 +0000 +++ b/lisp/cedet/semantic/idle.el Sat Sep 05 23:25:26 2009 +0000 @@ -128,6 +128,7 @@ ;; 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 @@ :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 @@ (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 @@ (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