Hi Eric,
Here is a small patch to semantic-idle that fixes customization
problems with the new idle scheduler mode.
If you don't have objection, I will check it in.
David
2004-01-12 David Ponce <david@...>
* cedet/semantic/semantic-idle.el
(global-semantic-idle-scheduler-mode): defcustom requires
semantic-idle instead of semantic-util-modes.
(define-semantic-idle-service): Likewise.
(semantic-idle-scheduler-mode): Add autoload cookie.
Index: semantic-idle.el
===================================================================
RCS file: /cvsroot/cedet/cedet/semantic/semantic-idle.el,v
retrieving revision 1.7
diff -c -r1.7 semantic-idle.el
*** semantic-idle.el 10 Jan 2004 01:26:31 -0000 1.7
--- semantic-idle.el 12 Jan 2004 13:18:53 -0000
***************
*** 88,94 ****
"*If non-nil, enable global use of idle-scheduler mode."
:group 'semantic
:type 'boolean
! :require 'semantic-util-modes
:initialize 'custom-initialize-default
:set (lambda (sym val)
(global-semantic-idle-scheduler-mode (if val 1 -1))))
--- 88,94 ----
"*If non-nil, enable global use of idle-scheduler mode."
:group 'semantic
:type 'boolean
! :require 'semantic-idle
:initialize 'custom-initialize-default
:set (lambda (sym val)
(global-semantic-idle-scheduler-mode (if val 1 -1))))
***************
*** 110,115 ****
--- 110,116 ----
:group 'semantic
:type 'hook)
+ ;;;###autoload
(defvar semantic-idle-scheduler-mode nil
"Non-nil if idle-scheduler minor mode is enabled.
Use the command `semantic-idle-scheduler-mode' to change this variable.")
***************
*** 368,374 ****
" ,doc)
:group 'semantic
:type 'boolean
! :require 'semantic-util-modes
:initialize 'custom-initialize-default
:set (lambda (sym val)
(,global (if val 1 -1))))
--- 369,375 ----
" ,doc)
:group 'semantic
:type 'boolean
! :require 'semantic-idle
:initialize 'custom-initialize-default
:set (lambda (sym val)
(,global (if val 1 -1))))
|