aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoam Postavsky2020-05-27 11:44:18 -0400
committerNoam Postavsky2020-05-27 13:00:03 -0400
commita824d5c87a1a1f914ce5dc4a6763fd3a8e45d146 (patch)
tree4bd876ecb41c2267b4d035c022eba04f3afdebe7
parentdcd96745b0c505da5343549410fdab070ca72ff5 (diff)
downloademacs-a824d5c87a1a1f914ce5dc4a6763fd3a8e45d146.tar.gz
emacs-a824d5c87a1a1f914ce5dc4a6763fd3a8e45d146.zip
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.
-rw-r--r--lisp/ido.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ido.el b/lisp/ido.el
index ad71d468cb4..4fb01c68dfa 100644
--- a/lisp/ido.el
+++ b/lisp/ido.el
@@ -355,7 +355,7 @@ The following values are possible:
355Setting this variable directly does not take effect; 355Setting this variable directly does not take effect;
356use either \\[customize] or the function `ido-mode'." 356use either \\[customize] or the function `ido-mode'."
357 :set #'(lambda (_symbol value) 357 :set #'(lambda (_symbol value)
358 (ido-mode value)) 358 (ido-mode (or value 0)))
359 :initialize #'custom-initialize-default 359 :initialize #'custom-initialize-default
360 :require 'ido 360 :require 'ido
361 :link '(emacs-commentary-link "ido.el") 361 :link '(emacs-commentary-link "ido.el")