aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Gutov2015-04-08 03:18:38 +0300
committerDmitry Gutov2015-04-08 03:18:38 +0300
commitba6c32b6decaa2a72a3d5f854efd513e8e82c118 (patch)
treefcc5ecdac8542a45c4b2a938b89502935e245a42
parent3262e4906781d9df343f335d64da92861c53e5a4 (diff)
downloademacs-ba6c32b6decaa2a72a3d5f854efd513e8e82c118.tar.gz
emacs-ba6c32b6decaa2a72a3d5f854efd513e8e82c118.zip
ffap: Support environment variable expansion in file names
Fixes: debbugs:19839 * lisp/ffap.el (ffap-string-at-point-mode-alist): Support environment variable expansion in file names.
-rw-r--r--lisp/ffap.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ffap.el b/lisp/ffap.el
index d4e30a05dcc..452275ab8c2 100644
--- a/lisp/ffap.el
+++ b/lisp/ffap.el
@@ -1004,7 +1004,7 @@ If a given RFC isn't in these then `ffap-rfc-path' is offered."
1004 ;; Slightly controversial decisions: 1004 ;; Slightly controversial decisions:
1005 ;; * strip trailing "@" and ":" 1005 ;; * strip trailing "@" and ":"
1006 ;; * no commas (good for latex) 1006 ;; * no commas (good for latex)
1007 (file "--:\\\\$+<>@-Z_[:alpha:]~*?" "<@" "@>;.,!:") 1007 (file "--:\\\\$\\{\\}+<>@-Z_[:alpha:]~*?" "<@" "@>;.,!:")
1008 ;; An url, or maybe a email/news message-id: 1008 ;; An url, or maybe a email/news message-id:
1009 (url "--:=&?$+@-Z_[:alpha:]~#,%;*()!'" "^[0-9a-zA-Z]" ":;.,!?") 1009 (url "--:=&?$+@-Z_[:alpha:]~#,%;*()!'" "^[0-9a-zA-Z]" ":;.,!?")
1010 ;; Find a string that does *not* contain a colon: 1010 ;; Find a string that does *not* contain a colon: