summaryrefslogtreecommitdiff
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2020-10-06 21:35:53 +0300
committerJuri Linkov <juri@linkov.net>2020-10-06 21:35:53 +0300
commitfc6decdfbcbeb3869158bc29c2ea453587f5ad38 (patch)
tree8e4cf8a601e9d6102aabef7a3a56dddde4620121 /lisp/replace.el
parentc30f6da0da0469f73fad205b134b1de82a1b1b65 (diff)
Add check for bound and true 'ido-everywhere' in multi-occur--prompt
* lisp/replace.el (multi-occur--prompt): Check if 'ido-everywhere' is bound and true (bug#41633).
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index 2d17ec9097c..e363924501f 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -1576,7 +1576,8 @@ is not modified."
(concat
"Next buffer to search "
(cond
- ((eq read-buffer-function #'ido-read-buffer)
+ ((or (eq read-buffer-function #'ido-read-buffer)
+ (bound-and-true-p ido-everywhere))
(substitute-command-keys
"(\\<ido-completion-map>\\[ido-select-text] to end): "))
((bound-and-true-p fido-mode)