From: Noam Postavsky Date: Wed, 27 May 2020 15:44:18 +0000 (-0400) Subject: Fix customizing of ido-mode (Bug#41557) X-Git-Tag: emacs-28.0.90~7266 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a824d5c87a1a1f914ce5dc4a6763fd3a8e45d146;p=emacs.git 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. --- 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: 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")