emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ido fix


From: Emanuele Giaquinta
Subject: ido fix
Date: Mon, 3 Oct 2005 17:52:25 +0200
User-agent: Mutt/1.5.9i

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)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]