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

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

[elpa] master 259cf07 374/399: Fix ivy-previous-line-or-history


From: Oleh Krehel
Subject: [elpa] master 259cf07 374/399: Fix ivy-previous-line-or-history
Date: Sat, 20 Jul 2019 14:58:02 -0400 (EDT)

branch: master
commit 259cf07fcad6b5584395baa1a13a0021f1a6618c
Author: Joel Rosdahl <address@hidden>
Commit: Oleh Krehel <address@hidden>

    Fix ivy-previous-line-or-history
    
    Fixes #2137
    Fixes #2138
    
    Note also that this reverts the fix in #1137.
---
 ivy.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index ba248f2..85348ef 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1249,7 +1249,7 @@ If the input is empty, select the previous history 
element instead."
   "Move cursor vertically up ARG candidates.
 If the input is empty, select the previous history element instead."
   (interactive "p")
-  (when (and (zerop ivy--index) (string= ivy-text ""))
+  (when (string= ivy-text "")
     (ivy-previous-history-element 1))
   (ivy-previous-line arg))
 



reply via email to

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