branch: master commit 1b4e8191c4e8450009b46f6cf2a99e4d165d8eb8 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
ivy.el (ivy-next-history-element): Simplify Add extra symbol bounds only for swiper. --- ivy.el | 1 + 1 file changed, 1 insertion(+) diff --git a/ivy.el b/ivy.el index 2b7002c..b5b8f86 100644 --- a/ivy.el +++ b/ivy.el @@ -911,6 +911,7 @@ Call the permanent action if possible." (progn (insert ivy--default) (when (and (with-ivy-window (derived-mode-p 'prog-mode)) + (eq (ivy-state-caller ivy-last) 'swiper) (not (file-exists-p ivy--default)) (not (ffap-url-p ivy--default)) (not (ivy-state-dynamic-collection ivy-last))