branch: master
commit 8dfff3ec97c5d4b9d3f3d5d616ad6f7114ea481e
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    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 ed0f232..1d7fcb3 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)

Reply via email to