emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master ba6c32b: ffap: Support environment variable expansi


From: Dmitry Gutov
Subject: [Emacs-diffs] master ba6c32b: ffap: Support environment variable expansion in file names
Date: Wed, 08 Apr 2015 00:18:49 +0000

branch: master
commit ba6c32b6decaa2a72a3d5f854efd513e8e82c118
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    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.
---
 lisp/ffap.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/ffap.el b/lisp/ffap.el
index d4e30a0..452275a 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."
     ;; Slightly controversial decisions:
     ;; * strip trailing "@" and ":"
     ;; * no commas (good for latex)
-    (file "--:\\\\$+<>@-Z_[:alpha:]~*?" "<@" "@>;.,!:")
+    (file "--:\\\\$\\{\\}+<>@-Z_[:alpha:]~*?" "<@" "@>;.,!:")
     ;; An url, or maybe a email/news message-id:
     (url "--:=&address@hidden:alpha:]~#,%;*()!'" "^[0-9a-zA-Z]" ":;.,!?")
     ;; Find a string that does *not* contain a colon:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]