[Top][All Lists]

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

[elpa] master 8f527d7 149/272: ivy.el (ivy-next-history-element): No "\\

From: Oleh Krehel
Subject: [elpa] master 8f527d7 149/272: ivy.el (ivy-next-history-element): No "\\_<" for dynamic-collection
Date: Mon, 25 Apr 2016 10:13:22 +0000

branch: master
commit 8f527d7b42dd30db6b48dee064714a584570c9fe
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    ivy.el (ivy-next-history-element): No "\\_<" for dynamic-collection
    "\\_<" regex is Emacs-specific and should only be done if
    :dynamic-collection is nil.
    It is nil for `counsel-git-grep' with repositories < 20000 lines, but
    non-nil for larger ones.
    Fixes #409
 ivy.el |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ivy.el b/ivy.el
index 5c89d7f..a09f657 100644
--- a/ivy.el
+++ b/ivy.el
@@ -895,6 +895,7 @@ Call the permanent action if possible."
         (insert ivy--default)
         (when (and (with-ivy-window (derived-mode-p 'prog-mode))
                    (not (file-exists-p ivy--default))
+                   (not (ivy-state-dynamic-collection ivy-last))
                    (> (point) (minibuffer-prompt-end)))
           (insert "\\_>")

reply via email to

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