From 3f36cab333a01bec3850d27ac0b2383570edb14e Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sat, 14 Dec 2019 14:20:00 +0100 Subject: [PATCH] * 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 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.") -- 2.39.2