Subject: Re: bug#947: Recursive load of ido after unload-feature and reload

From: Glenn Morris <[email-masked]>
Date: Wed, 10 Sep 2008 14:44:54 -0400

"Juanma Barranquero" wrote:

> and setting the variable ido-mode runs this code:
>
>   :set #'(lambda (symbol value)
> 	   (ido-mode value))
>
> so there's really a recursion.

Isn't this enough, so long as ido-mode is not enabled by default?

*** ido.el	9 Sep 2008 14:01:03 -0000	1.150
--- ido.el	10 Sep 2008 18:44:43 -0000
***************
*** 353,359 ****
  use either \\[customize] or the function `ido-mode'."
    :set #'(lambda (symbol value)
  	   (ido-mode value))
!   :initialize 'custom-initialize-set
    :require 'ido
    :link '(emacs-commentary-link "ido.el")
    :set-after '(ido-save-directory-list-file
--- 353,359 ----
  use either \\[customize] or the function `ido-mode'."
    :set #'(lambda (symbol value)
  	   (ido-mode value))
!   :initialize 'custom-initialize-default
    :require 'ido
    :link '(emacs-commentary-link "ido.el")
    :set-after '(ido-save-directory-list-file