* lisp/net/tramp.el (tramp-initial-file-name-regexp): Make it more precise.
This commit is contained in:
parent
7ebbec03ec
commit
3f36cab333
1 changed files with 1 additions and 1 deletions
|
@ -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.")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue