Fix customizing of ido-mode (Bug#41557)

lisp/ido.el (ido-mode): When setting the user option to nil, pass 0 to
the function, so that it will be disabled as intended.
This commit is contained in:
Noam Postavsky 2020-05-27 11:44:18 -04:00
parent dcd96745b0
commit a824d5c87a

View file

@ -355,7 +355,7 @@ The following values are possible:
Setting this variable directly does not take effect;
use either \\[customize] or the function `ido-mode'."
:set #'(lambda (_symbol value)
(ido-mode value))
(ido-mode (or value 0)))
:initialize #'custom-initialize-default
:require 'ido
:link '(emacs-commentary-link "ido.el")