mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(server-process-filter): Use command-line-normalize-file-name.
This commit is contained in:
parent
dcccc83257
commit
ee7226e542
1 changed files with 2 additions and 5 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue