]> code.delx.au - gnu-emacs-elpa/blobdiff - ivy.el
ivy.el (ivy-thing-at-point): Try ffap-file-at-point
[gnu-emacs-elpa] / ivy.el
diff --git a/ivy.el b/ivy.el
index 2148880b9c26d224e81321d29862431eac365ed5..fd8c81b67aa2e1ea8664132bab0b140959e5eaf5 100644 (file)
--- 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)