diff options
| author | Dmitry Gutov | 2020-05-22 03:37:56 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2020-05-23 04:54:42 +0300 |
| commit | 813e42c63bcd9f285daae6737c4ae7a9adae90d7 (patch) | |
| tree | 26c87e1578b4386633a0a877d2b2cddaa1396e46 | |
| parent | 3a7894ecd11c66337e7aea8ade8f47673d290a24 (diff) | |
| download | emacs-813e42c63bcd9f285daae6737c4ae7a9adae90d7.tar.gz emacs-813e42c63bcd9f285daae6737c4ae7a9adae90d7.zip | |
Disable ido-everywhere when ido-mode is off
* lisp/ido.el (ido-mode): Disable the effects of 'ido-everywhere'
when ido-mode is turned off.
| -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 5716c6ff442..ad71d468cb4 100644 --- a/lisp/ido.el +++ b/lisp/ido.el | |||
| @@ -1549,7 +1549,7 @@ This function also adds a hook to the minibuffer." | |||
| 1549 | ((> (prefix-numeric-value arg) 0) 'both) | 1549 | ((> (prefix-numeric-value arg) 0) 'both) |
| 1550 | (t nil))) | 1550 | (t nil))) |
| 1551 | 1551 | ||
| 1552 | (ido-everywhere (if ido-everywhere 1 -1)) | 1552 | (ido-everywhere (if (and ido-mode ido-everywhere) 1 -1)) |
| 1553 | 1553 | ||
| 1554 | (when ido-mode | 1554 | (when ido-mode |
| 1555 | (ido-common-initialization) | 1555 | (ido-common-initialization) |