diff --git a/lisp/replace.el b/lisp/replace.el index 4883ecfc8f..b717a2a25c 100644 --- a/lisp/replace.el +++ b/lisp/replace.el @@ -1588,7 +1588,7 @@ multi-occur--prompt (concat "Next buffer to search " (cond - ((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)