diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2019-12-14 14:20:00 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2019-12-14 14:20:00 +0100 |
commit | 3f36cab333a01bec3850d27ac0b2383570edb14e (patch) | |
tree | d029038838fe9fad5d219aee23b9f21a35ac0622 /lisp | |
parent | 7ebbec03eccd8d3470a6f04c87fb228e88f8f14f (diff) | |
download | emacs-3f36cab333a01bec3850d27ac0b2383570edb14e.tar.gz |
* lisp/net/tramp.el (tramp-initial-file-name-regexp): Make it more precise.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/net/tramp.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 8f5eb5096a2..8988e57b8df 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.") |