# HG changeset patch # User Richard M. Stallman # Date 825550224 0 # Node ID f70d94fe685fd81447223c9807342f54462f2a2a # Parent 0bb2443dcc6d7dc0d5b7fa29755ed325f164e1af (command-line-normalize-file-name): Convert /// at beginning to just /. diff -r 0bb2443dcc6d -r f70d94fe685f lisp/startup.el --- a/lisp/startup.el Wed Feb 28 23:25:27 1996 +0000 +++ b/lisp/startup.el Wed Feb 28 23:30:24 1996 +0000 @@ -913,6 +913,9 @@ "Collapse multiple slashes to one, to handle non-Emacs file names." ;; Use arg 1 so that we don't collapse // at the start of the file name. ;; That is significant on some systems. + ;; However, /// at the beginning is supposed to mean just /, not //. + (if (string-match "^///+" file) + (setq file (replace-match "/" t t file))) (while (string-match "//+" file 1) (setq file (replace-match "/" t t file))) file)