The defcustom of ido-mode sets custom-initialize-default as the function for initialization, while the correct one should be custom-initialize-set; with the first one a non nil custom init set of ido-mode doesn't activate ido and make an interactive call to ido-mode reset the value of the corresponding variable to nil and not activate the mode too.
Index: ido.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/ido.el,v retrieving revision 1.77 diff -u -r1.77 ido.el --- ido.el 24 Sep 2005 23:26:27 -0000 1.77 +++ ido.el 3 Oct 2005 15:33:55 -0000 @@ -354,7 +354,7 @@ use either \\[customize] or the function `ido-mode'." :set #'(lambda (symbol value) (ido-mode value)) - :initialize 'custom-initialize-default + :initialize 'custom-initialize-set :require 'ido :link '(emacs-commentary-link "ido.el") :set-after '(ido-save-directory-list-file) _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel