emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master fc6decd 2/2: Add check for bound and true 'ido-everywhere' in mul


From: Juri Linkov
Subject: master fc6decd 2/2: Add check for bound and true 'ido-everywhere' in multi-occur--prompt
Date: Tue, 6 Oct 2020 14:36:18 -0400 (EDT)

branch: master
commit fc6decdfbcbeb3869158bc29c2ea453587f5ad38
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    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 2d17ec9..e363924 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]