changeset 14717:e299e3e3cf9d

(server-process-filter): Use command-line-normalize-file-name.
author Richard M. Stallman <rms@gnu.org>
date Wed, 28 Feb 1996 23:32:18 +0000
parents f70d94fe685f
children cb80e4399021
files lisp/server.el
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/server.el	Wed Feb 28 23:30:24 1996 +0000
+++ b/lisp/server.el	Wed Feb 28 23:32:18 1996 +0000
@@ -205,11 +205,8 @@
 		      ;; 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))