emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/ivy-hydra 66a8b1b 031/395: ivy.el (ivy--reset-state): B


From: Basil L. Contovounesios
Subject: [elpa] externals/ivy-hydra 66a8b1b 031/395: ivy.el (ivy--reset-state): Bind ivy-recursive-restore to nil
Date: Thu, 25 Feb 2021 08:31:25 -0500 (EST)

branch: externals/ivy-hydra
commit 66a8b1be71875755a9f6a45ca53e5110ef13f27d
Author: Oleh Krehel <ohwoeowho@gmail.com>
Commit: Oleh Krehel <ohwoeowho@gmail.com>

    ivy.el (ivy--reset-state): Bind ivy-recursive-restore to nil
    
    For `xref-find-definitions', `all-completions' may call `ivy-read' in
    turn.
    
    Fixes #1953
---
 ivy.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index 425e60f..c5a9128 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2219,7 +2219,8 @@ This is useful for recursive `ivy-read'."
     (setq ivy--highlight-function
           (or (cdr (assq ivy--regex-function ivy-highlight-functions-alist))
               #'ivy--highlight-default))
-    (let (coll sort-fn)
+    (let ((ivy-recursive-restore nil)
+          coll sort-fn)
       (cond ((eq collection #'Info-read-node-name-1)
              (setq coll
                    (if (equal (bound-and-true-p Info-current-file) "dir")



reply via email to

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