Skip to content

Commit

Permalink
ivy.el (ivy-reverse-i-search): Don't bind ivy-recursive-restore to nil
Browse files Browse the repository at this point in the history
Old behavior was introduced in abo-abo#323. That use case still works fine
now.

Fixes abo-abo#1215
  • Loading branch information
abo-abo authored and astoff committed Jan 1, 2021
1 parent a47864b commit 645e42a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ivy.el
Expand Up @@ -4121,8 +4121,7 @@ The selected history element will be inserted into the minibuffer."
(interactive)
(let ((enable-recursive-minibuffers t)
(history (symbol-value (ivy-state-history ivy-last)))
(old-last ivy-last)
(ivy-recursive-restore nil))
(old-last ivy-last))
(ivy-read "Reverse-i-search: "
(delete-dups (copy-sequence history))
:action (lambda (x)
Expand Down

0 comments on commit 645e42a

Please sign in to comment.