From: Juri Linkov Date: Tue, 6 Oct 2020 18:35:53 +0000 (+0300) Subject: Add check for bound and true 'ido-everywhere' in multi-occur--prompt X-Git-Tag: emacs-28.0.90~5729 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fc6decdfbcbeb3869158bc29c2ea453587f5ad38;p=emacs.git 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). --- 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)