From a478a9ce3220afaa3bff55a49af0bb4681fe66c4 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 28 Feb 1996 00:29:43 +0000 Subject: (server-process-filter): Don't collapse // at start of file name. --- lisp/server.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lisp') diff --git a/lisp/server.el b/lisp/server.el index 7649660b72..61dc29f4ed 100644 --- a/lisp/server.el +++ b/lisp/server.el @@ -207,7 +207,8 @@ Prefix arg means just kill any existing server communications subprocess." ;; ARG is a file name. ;; Collapse multiple slashes to single slashes, ;; since in Emacs a multiple slash is not equiv to one. - (while (string-match "//+" arg) + ;; However, don't do this at the start of the file name. + (while (string-match "//+" arg 1) (setq arg (replace-match "/" t t arg))) (setq files (cons (list arg lineno) -- cgit v1.2.3