diff options
Diffstat (limited to 'lisp/net')
| -rw-r--r-- | lisp/net/tramp-sh.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index a6bfe7236b1..ee37373a0fa 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el | |||
| @@ -3951,7 +3951,8 @@ process to set up. VEC specifies the connection." | |||
| 3951 | ;; Set the environment. | 3951 | ;; Set the environment. |
| 3952 | (tramp-message vec 5 "Setting default environment") | 3952 | (tramp-message vec 5 "Setting default environment") |
| 3953 | 3953 | ||
| 3954 | (let ((env (append `(,(tramp-get-remote-locale vec)) | 3954 | (let ((env (append (when (tramp-get-remote-locale vec) ; Discard `(nil)'. |
| 3955 | `(,(tramp-get-remote-locale vec))) | ||
| 3955 | (copy-sequence tramp-remote-process-environment))) | 3956 | (copy-sequence tramp-remote-process-environment))) |
| 3956 | unset item) | 3957 | unset item) |
| 3957 | (while env | 3958 | (while env |
| @@ -4090,6 +4091,10 @@ Goes through the list `tramp-local-coding-commands' and | |||
| 4090 | vec 5 "Checking remote test command `%s'" rem-test) | 4091 | vec 5 "Checking remote test command `%s'" rem-test) |
| 4091 | (unless (tramp-send-command-and-check vec rem-test t) | 4092 | (unless (tramp-send-command-and-check vec rem-test t) |
| 4092 | (throw 'wont-work-remote nil))) | 4093 | (throw 'wont-work-remote nil))) |
| 4094 | ;; Check if remote perl exists when necessary. | ||
| 4095 | (when (and (not (stringp rem-enc)) | ||
| 4096 | (not (tramp-get-remote-perl vec))) | ||
| 4097 | (throw 'wont-work-remote nil)) | ||
| 4093 | ;; Check if remote encoding and decoding commands can be | 4098 | ;; Check if remote encoding and decoding commands can be |
| 4094 | ;; called remotely with null input and output. This makes | 4099 | ;; called remotely with null input and output. This makes |
| 4095 | ;; sure there are no syntax errors and the command is really | 4100 | ;; sure there are no syntax errors and the command is really |
| @@ -5314,5 +5319,7 @@ function cell is returned to be applied on a buffer." | |||
| 5314 | ;; rsync. | 5319 | ;; rsync. |
| 5315 | ;; * Try telnet+curl as new method. It might be useful for busybox, | 5320 | ;; * Try telnet+curl as new method. It might be useful for busybox, |
| 5316 | ;; without built-in uuencode/uudecode. | 5321 | ;; without built-in uuencode/uudecode. |
| 5322 | ;; * Try telnet+nc as new method. It might be useful for busybox, | ||
| 5323 | ;; without built-in uuencode/uudecode. | ||
| 5317 | 5324 | ||
| 5318 | ;;; tramp-sh.el ends here | 5325 | ;;; tramp-sh.el ends here |