From a824d5c87a1a1f914ce5dc4a6763fd3a8e45d146 Mon Sep 17 00:00:00 2001 From: Noam Postavsky Date: Wed, 27 May 2020 11:44:18 -0400 Subject: [PATCH] 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. --- lisp/ido.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- 2.39.5