emacs-diffs
[Top][All Lists]
Advanced

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

master 3f36cab: * lisp/net/tramp.el (tramp-initial-file-name-regexp): Ma


From: Michael Albinus
Subject: master 3f36cab: * lisp/net/tramp.el (tramp-initial-file-name-regexp): Make it more precise.
Date: Sat, 14 Dec 2019 08:20:09 -0500 (EST)

branch: master
commit 3f36cab333a01bec3850d27ac0b2383570edb14e
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    * lisp/net/tramp.el (tramp-initial-file-name-regexp): Make it more precise.
---
 lisp/net/tramp.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index 8f5eb50..8988e57 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -1019,7 +1019,7 @@ See also `tramp-file-name-regexp'.")
   (car tramp-file-name-structure))
 
 ;;;###autoload
-(defconst tramp-initial-file-name-regexp "\\`/.+:.*:"
+(defconst tramp-initial-file-name-regexp "\\`/[^/:]+:[^/:]*:"
   "Value for `tramp-file-name-regexp' for autoload.
 It must match the initial `tramp-syntax' settings.")
 



reply via email to

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