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

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

[elpa] master 69491ad 4/8: Fixup "C-u C-j" for `ivy-switch-buffer'


From: Oleh Krehel
Subject: [elpa] master 69491ad 4/8: Fixup "C-u C-j" for `ivy-switch-buffer'
Date: Sat, 23 May 2015 11:31:02 +0000

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

    Fixup "C-u C-j" for `ivy-switch-buffer'
    
    ivy.el (ivy-immediate-done): Since action-style call is used now,
    `ivy--current' must be set to `ivy-test', since it's `ivy--current' that
    will count as completion result.
---
 ivy.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ivy.el b/ivy.el
index f7e10e6..c36d622 100644
--- a/ivy.el
+++ b/ivy.el
@@ -342,7 +342,7 @@ If the text hasn't changed as a result, forward to 
`ivy-alt-done'."
   "Exit the minibuffer with the current input."
   (interactive)
   (delete-minibuffer-contents)
-  (insert ivy-text)
+  (insert (setq ivy--current ivy-text))
   (setq ivy-exit 'done)
   (exit-minibuffer))
 



reply via email to

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