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

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

[elpa] master fe92b1b 133/348: ivy.el: Fix the "C-m" not working for las


From: Oleh Krehel
Subject: [elpa] master fe92b1b 133/348: ivy.el: Fix the "C-m" not working for last commit
Date: Sat, 8 Apr 2017 11:03:42 -0400 (EDT)

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

    ivy.el: Fix the "C-m" not working for last commit
---
 ivy.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ivy.el b/ivy.el
index 0cea3d9..8926f6a 100644
--- a/ivy.el
+++ b/ivy.el
@@ -1438,8 +1438,6 @@ customizations apply to the current completion session."
                        (set hist (cons (propertize item 'ivy-index ivy--index)
                                        (delete item
                                                (cdr (symbol-value hist))))))))
-                 (when (> (length ivy--current) 0)
-                   (remove-text-properties 0 1 '(idx) ivy--current))
                  ivy--current))
           (remove-hook 'post-command-hook #'ivy--exhibit)
           (when (setq unwind (ivy-state-unwind ivy-last))
@@ -1448,6 +1446,8 @@ customizations apply to the current completion session."
             (when recursive-ivy-last
               (ivy--reset-state (setq ivy-last recursive-ivy-last)))))
       (ivy-call)
+      (when (> (length ivy--current) 0)
+        (remove-text-properties 0 1 '(idx) ivy--current))
       (when (and recursive-ivy-last
                  ivy-recursive-restore)
         (ivy--reset-state (setq ivy-last recursive-ivy-last))))))



reply via email to

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