]> git.eshelyaron.com Git - emacs.git/commitdiff
Add check for bound and true 'ido-everywhere' in multi-occur--prompt
authorJuri Linkov <juri@linkov.net>
Tue, 6 Oct 2020 18:35:53 +0000 (21:35 +0300)
committerJuri Linkov <juri@linkov.net>
Tue, 6 Oct 2020 18:35:53 +0000 (21:35 +0300)
* lisp/replace.el (multi-occur--prompt): Check if 'ido-everywhere' is
bound and true (bug#41633).

lisp/replace.el

index 2d17ec9097ca3668098540130b5299ab1c2344fc..e363924501f46a14e0add5bfba1ef6085a3c586f 100644 (file)
@@ -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)