mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
Fix a problem with tramp-*-process-file
* lisp/net/tramp-adb.el (tramp-adb-handle-process-file): * lisp/net/tramp-sh.el (tramp-sh-handle-process-file): * lisp/net/tramp-smb.el (tramp-smb-handle-process-file): * lisp/net/tramp-sshfs.el (tramp-sshfs-handle-process-file): Use `(expand-file-name default-directory)'.
This commit is contained in:
parent
a79c578f3d
commit
bfd159539f
4 changed files with 4 additions and 4 deletions
|
|
@ -803,7 +803,7 @@ PRESERVE-UID-GID and PRESERVE-EXTENDED-ATTRIBUTES are completely ignored."
|
|||
(when (and (numberp destination) (zerop destination))
|
||||
(error "Implementation does not handle immediate return"))
|
||||
|
||||
(with-parsed-tramp-file-name default-directory nil
|
||||
(with-parsed-tramp-file-name (expand-file-name default-directory) nil
|
||||
(let (command input tmpinput stderr tmpstderr outbuf ret)
|
||||
;; Compute command.
|
||||
(setq command (mapconcat #'tramp-shell-quote-argument
|
||||
|
|
|
|||
|
|
@ -3029,7 +3029,7 @@ implementation will be used."
|
|||
(when (and (numberp destination) (zerop destination))
|
||||
(error "Implementation does not handle immediate return"))
|
||||
|
||||
(with-parsed-tramp-file-name default-directory nil
|
||||
(with-parsed-tramp-file-name (expand-file-name default-directory) nil
|
||||
(let (command env uenv input tmpinput stderr tmpstderr outbuf ret)
|
||||
;; Compute command.
|
||||
(setq command (mapconcat #'tramp-shell-quote-argument
|
||||
|
|
|
|||
|
|
@ -1259,7 +1259,7 @@ component is used as the target of the symlink."
|
|||
(when (and (numberp destination) (zerop destination))
|
||||
(error "Implementation does not handle immediate return"))
|
||||
|
||||
(with-parsed-tramp-file-name default-directory nil
|
||||
(with-parsed-tramp-file-name (expand-file-name default-directory) nil
|
||||
(let* ((name (file-name-nondirectory program))
|
||||
(name1 name)
|
||||
(i 0)
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ arguments to pass to the OPERATION."
|
|||
(when (and (numberp destination) (zerop destination))
|
||||
(error "Implementation does not handle immediate return"))
|
||||
|
||||
(with-parsed-tramp-file-name default-directory nil
|
||||
(with-parsed-tramp-file-name (expand-file-name default-directory) nil
|
||||
(let ((command
|
||||
(format
|
||||
"cd %s && exec %s"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue