diff options
| author | Richard M. Stallman | 1996-02-28 23:32:18 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-02-28 23:32:18 +0000 |
| commit | ee7226e5428f18944caf6606280f83d29473e9dc (patch) | |
| tree | bd2bf983b091d3db6ccb4869e232e161c386f407 | |
| parent | dcccc83257f964140d38bab89e675aa5c87ba660 (diff) | |
| download | emacs-ee7226e5428f18944caf6606280f83d29473e9dc.tar.gz emacs-ee7226e5428f18944caf6606280f83d29473e9dc.zip | |
(server-process-filter): Use command-line-normalize-file-name.
| -rw-r--r-- | lisp/server.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/server.el b/lisp/server.el index 61dc29f4ed3..f94fb7e3ebb 100644 --- a/lisp/server.el +++ b/lisp/server.el | |||
| @@ -205,11 +205,8 @@ Prefix arg means just kill any existing server communications subprocess." | |||
| 205 | ;; ARG is a line number option. | 205 | ;; ARG is a line number option. |
| 206 | (setq lineno (read (substring arg 1))) | 206 | (setq lineno (read (substring arg 1))) |
| 207 | ;; ARG is a file name. | 207 | ;; ARG is a file name. |
| 208 | ;; Collapse multiple slashes to single slashes, | 208 | ;; Collapse multiple slashes to single slashes. |
| 209 | ;; since in Emacs a multiple slash is not equiv to one. | 209 | (setq arg (command-line-normalize-file-name arg)) |
| 210 | ;; However, don't do this at the start of the file name. | ||
| 211 | (while (string-match "//+" arg 1) | ||
| 212 | (setq arg (replace-match "/" t t arg))) | ||
| 213 | (setq files | 210 | (setq files |
| 214 | (cons (list arg lineno) | 211 | (cons (list arg lineno) |
| 215 | files)) | 212 | files)) |