diff options
| author | Noam Postavsky | 2020-05-27 11:44:18 -0400 |
|---|---|---|
| committer | Noam Postavsky | 2020-05-27 13:00:03 -0400 |
| commit | a824d5c87a1a1f914ce5dc4a6763fd3a8e45d146 (patch) | |
| tree | 4bd876ecb41c2267b4d035c022eba04f3afdebe7 | |
| parent | dcd96745b0c505da5343549410fdab070ca72ff5 (diff) | |
| download | emacs-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.el | 2 |
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: | |||
| 355 | Setting this variable directly does not take effect; | 355 | Setting this variable directly does not take effect; |
| 356 | use either \\[customize] or the function `ido-mode'." | 356 | use 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") |