[Top][All Lists]

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

[elpa] master 3a16cec 223/399: ivy.el (ivy-occur): Don't setq-local ivy-

From: Oleh Krehel
Subject: [elpa] master 3a16cec 223/399: ivy.el (ivy-occur): Don't setq-local ivy--directory
Date: Sat, 20 Jul 2019 14:57:27 -0400 (EDT)

branch: master
commit 3a16cec730f09293ed8b6c38e35860bde9079399
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    ivy.el (ivy-occur): Don't setq-local ivy--directory
    We have `ivy-state-directory' anyway.
    Fixes #1866
 ivy.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/ivy.el b/ivy.el
index 46f7856..5153dee 100644
--- a/ivy.el
+++ b/ivy.el
@@ -4402,8 +4402,7 @@ There is no limit on the number of *ivy-occur* buffers."
         (setf (ivy-state-text ivy-last) ivy-text)
-        (setq ivy-occur-last ivy-last)
-        (setq-local ivy--directory ivy--directory))
+        (setq ivy-occur-last ivy-last))
        (lambda (_) (pop-to-buffer buffer))))))

reply via email to

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