mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* server.el (server-process-filter): Use expand-file-name rather than
command-line-normalize-file-name so as to use the `dir' when provided. * emacsclient.c (main): Always pass cwd via "-dir". Pass the file names without prepending cwd to them, so Emacs uses its customary rules to determine how to interpret the file name.
This commit is contained in:
parent
bba79a9ce4
commit
ba528748a1
4 changed files with 14 additions and 37 deletions
|
|
@ -962,7 +962,7 @@ The following commands are accepted by the client:
|
|||
(let ((file (pop command-line-args-left)))
|
||||
(if coding-system
|
||||
(setq file (decode-coding-string file coding-system)))
|
||||
(setq file (command-line-normalize-file-name file))
|
||||
(setq file (expand-file-name file dir))
|
||||
(push (cons file filepos) files)
|
||||
(server-log (format "New file: %s %s"
|
||||
file (or filepos "")) proc))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue