Mercurial > emacs
changeset 104463:e4788b39543d
lisp/cedet/semantic/idle.el: Add local vars for autoloading.
(global-semantic-idle-scheduler-mode)
(semantic-idle-scheduler-mode): Autoload.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 05 Sep 2009 23:25:26 +0000 |
parents | de6e9d927035 |
children | ee7637f5d6de |
files | lisp/cedet/semantic/idle.el |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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