all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ido fix
@ 2005-10-03 15:52 Emanuele Giaquinta
  2005-10-03 16:46 ` Kim F. Storm
  0 siblings, 1 reply; 2+ messages in thread
From: Emanuele Giaquinta @ 2005-10-03 15:52 UTC (permalink / raw)


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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ido fix
  2005-10-03 15:52 ido fix Emanuele Giaquinta
@ 2005-10-03 16:46 ` Kim F. Storm
  0 siblings, 0 replies; 2+ messages in thread
From: Kim F. Storm @ 2005-10-03 16:46 UTC (permalink / raw)
  Cc: emacs-devel

Emanuele Giaquinta <emanuele.giaquinta@gmail.com> writes:

> 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.

Thanks!!  I have installed the fix.

-- 
Kim F. Storm <storm@cua.dk> http://www.cua.dk

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-10-03 16:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-03 15:52 ido fix Emanuele Giaquinta
2005-10-03 16:46 ` Kim F. Storm

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.