branch: master commit cb26121ca4ac8b8b446874970f163885dbc8688e Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
ivy.el: Fix ivy-history recording the full text instead of input * ivy.el (ivy-read): Update. Fixes #21 --- ivy.el | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/ivy.el b/ivy.el index 462067e..79d3bff 100644 --- a/ivy.el +++ b/ivy.el @@ -145,6 +145,8 @@ If INDEX is non-nil select the corresponding candidate." ivy-minibuffer-map nil 'ivy-history)) + (pop ivy-history) + (add-to-list 'ivy-history ivy-text) (remove-hook 'post-command-hook #'ivy--exhibit))))) (defvar ivy-text ""