From fc6decdfbcbeb3869158bc29c2ea453587f5ad38 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Tue, 6 Oct 2020 21:35:53 +0300 Subject: [PATCH] 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). --- lisp/replace.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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-select-text] to end): ")) ((bound-and-true-p fido-mode) -- 2.39.5