branch: master
commit c68d2cce028b9907264583f803dca33d4b19429e
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
ivy.el (ivy-thing-at-point): Try ffap-file-at-point
Very useful on Windows with it's weird path names.
---
ivy.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/ivy.el b/ivy.el
index 2148880..fd8c81b 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)