From: Oleh Krehel Date: Fri, 25 Mar 2016 20:42:30 +0000 (+0100) Subject: ivy.el (ivy-next-history-element): Improve X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/8dfff3ec97c5d4b9d3f3d5d616ad6f7114ea481e ivy.el (ivy-next-history-element): Improve Don't add <> bounds for URL. --- 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)