From 8dfff3ec97c5d4b9d3f3d5d616ad6f7114ea481e Mon Sep 17 00:00:00 2001 From: Oleh Krehel Date: Fri, 25 Mar 2016 21:42:30 +0100 Subject: [PATCH] ivy.el (ivy-next-history-element): Improve Don't add <> bounds for URL. --- ivy.el | 1 + 1 file changed, 1 insertion(+) diff --git a/ivy.el b/ivy.el index ed0f232d5..1d7fcb387 100644 --- a/ivy.el +++ b/ivy.el @@ -908,6 +908,7 @@ Call the permanent action if possible." (insert ivy--default) (when (and (with-ivy-window (derived-mode-p 'prog-mode)) (not (file-exists-p ivy--default)) + (not (ffap-url-p ivy--default)) (not (ivy-state-dynamic-collection ivy-last)) (> (point) (minibuffer-prompt-end))) (undo-boundary) -- 2.39.2