From: Oleh Krehel Date: Fri, 18 Mar 2016 08:55:16 +0000 (+0100) Subject: ivy.el (ivy-thing-at-point): Try ffap-file-at-point X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/c68d2cce028b9907264583f803dca33d4b19429e ivy.el (ivy-thing-at-point): Try ffap-file-at-point Very useful on Windows with it's weird path names. --- diff --git a/ivy.el b/ivy.el index 2148880b9..fd8c81b67 100644 --- a/ivy.el +++ b/ivy.el @@ -301,6 +301,7 @@ This should eventually become a stack so that you could use "Return a string that corresponds to the current thing at point." (or (thing-at-point 'url) + (ffap-file-at-point) (let (s) (cond ((stringp (setq s (thing-at-point 'symbol))) (if (string-match "\\`[`']?\\(.*?\\)'?\\'" s)