diff options
| author | Koichi Arakawa | 2019-10-28 09:49:59 +0100 |
|---|---|---|
| committer | Michael Albinus | 2019-10-28 09:49:59 +0100 |
| commit | 098873b4f25922cd79850e0a985d30ba4c0f780a (patch) | |
| tree | eca77d95286d7fcd90dde538f2ff5473a6a35377 | |
| parent | 7e30076225cebe85f7e60802f471b421a369abd7 (diff) | |
| download | emacs-098873b4f25922cd79850e0a985d30ba4c0f780a.tar.gz emacs-098873b4f25922cd79850e0a985d30ba4c0f780a.zip | |
Reorder command-line switches in Tramp
* lisp/net/tramp-sh.el (tramp-maybe-open-connection):
`tramp-encoding-command-interactive' must be the last command-line
switch, at least for bash. (Bug#37953)
Copyright-paperwork-exempt: yes
| -rw-r--r-- | lisp/net/tramp-sh.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 26254f87fe1..3c80c583099 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el | |||
| @@ -4877,9 +4877,9 @@ connection if a previous connection has died for some reason." | |||
| 4877 | (tramp-get-connection-buffer vec) | 4877 | (tramp-get-connection-buffer vec) |
| 4878 | (append | 4878 | (append |
| 4879 | (list tramp-encoding-shell) | 4879 | (list tramp-encoding-shell) |
| 4880 | (and extra-args (split-string extra-args)) | ||
| 4880 | (and tramp-encoding-command-interactive | 4881 | (and tramp-encoding-command-interactive |
| 4881 | (list tramp-encoding-command-interactive)) | 4882 | (list tramp-encoding-command-interactive))))))) |
| 4882 | (and extra-args (split-string extra-args))))))) | ||
| 4883 | 4883 | ||
| 4884 | ;; Set sentinel and query flag. Initialize variables. | 4884 | ;; Set sentinel and query flag. Initialize variables. |
| 4885 | (set-process-sentinel p #'tramp-process-sentinel) | 4885 | (set-process-sentinel p #'tramp-process-sentinel) |