[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master a824d5c 1/2: Fix customizing of ido-mode (Bug#41557)
From: |
Noam Postavsky |
Subject: |
master a824d5c 1/2: Fix customizing of ido-mode (Bug#41557) |
Date: |
Wed, 27 May 2020 13:08:46 -0400 (EDT) |
branch: master
commit a824d5c87a1a1f914ce5dc4a6763fd3a8e45d146
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>
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 ad71d46..4fb01c6 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")