]> code.delx.au - gnu-emacs/commitdiff
(server-process-filter): Use command-line-normalize-file-name.
authorRichard M. Stallman <rms@gnu.org>
Wed, 28 Feb 1996 23:32:18 +0000 (23:32 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 28 Feb 1996 23:32:18 +0000 (23:32 +0000)
lisp/server.el

index 61dc29f4ed36cd40ab78c0bf65e6a7c50913ff36..f94fb7e3ebb21eb46e72e60521ac8c6a9952515f 100644 (file)
@@ -205,11 +205,8 @@ Prefix arg means just kill any existing server communications subprocess."
                      ;; ARG is a line number option.
                      (setq lineno (read (substring arg 1)))
                    ;; ARG is a file name.
-                   ;; Collapse multiple slashes to single slashes,
-                   ;; since in Emacs a multiple slash is not equiv to one.
-                   ;; However, don't do this at the start of the file name.
-                   (while (string-match "//+" arg 1)
-                     (setq arg (replace-match "/" t t arg)))
+                   ;; Collapse multiple slashes to single slashes.
+                   (setq arg (command-line-normalize-file-name arg))
                    (setq files
                          (cons (list arg lineno)
                                files))