diff options
Diffstat (limited to 'lisp/net')
| -rw-r--r-- | lisp/net/tramp.el | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index a9870823f80..e715ef596d0 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -1983,13 +1983,13 @@ This string is passed to `format', so percent characters need to be doubled.") | |||
| 1983 | 1983 | ||
| 1984 | (defconst tramp-vc-registered-read-file-names | 1984 | (defconst tramp-vc-registered-read-file-names |
| 1985 | "echo \"(\" | 1985 | "echo \"(\" |
| 1986 | for file in \"$@\"; do | 1986 | while read file; do |
| 1987 | if %s $file; then | 1987 | if %s \"$file\"; then |
| 1988 | echo \"(\\\"$file\\\" \\\"file-exists-p\\\" t)\" | 1988 | echo \"(\\\"$file\\\" \\\"file-exists-p\\\" t)\" |
| 1989 | else | 1989 | else |
| 1990 | echo \"(\\\"$file\\\" \\\"file-exists-p\\\" nil)\" | 1990 | echo \"(\\\"$file\\\" \\\"file-exists-p\\\" nil)\" |
| 1991 | fi | 1991 | fi |
| 1992 | if %s $file; then | 1992 | if %s \"$file\"; then |
| 1993 | echo \"(\\\"$file\\\" \\\"file-readable-p\\\" t)\" | 1993 | echo \"(\\\"$file\\\" \\\"file-readable-p\\\" t)\" |
| 1994 | else | 1994 | else |
| 1995 | echo \"(\\\"$file\\\" \\\"file-readable-p\\\" nil)\" | 1995 | echo \"(\\\"$file\\\" \\\"file-readable-p\\\" nil)\" |
| @@ -1998,7 +1998,9 @@ done | |||
| 1998 | echo \")\"" | 1998 | echo \")\"" |
| 1999 | "Script to check existence of VC related files. | 1999 | "Script to check existence of VC related files. |
| 2000 | It must be send formatted with two strings; the tests for file | 2000 | It must be send formatted with two strings; the tests for file |
| 2001 | existence, and file readability.") | 2001 | existence, and file readability. Input shall be read via |
| 2002 | here-document, otherwise the command could exceed maximum length | ||
| 2003 | of command line.") | ||
| 2002 | 2004 | ||
| 2003 | (defconst tramp-file-mode-type-map | 2005 | (defconst tramp-file-mode-type-map |
| 2004 | '((0 . "-") ; Normal file (SVID-v2 and XPG2) | 2006 | '((0 . "-") ; Normal file (SVID-v2 and XPG2) |
| @@ -5419,10 +5421,10 @@ Returns a file name in `tramp-auto-save-directory' for autosaving this file." | |||
| 5419 | (tramp-send-command-and-read | 5421 | (tramp-send-command-and-read |
| 5420 | v | 5422 | v |
| 5421 | (format | 5423 | (format |
| 5422 | "tramp_vc_registered_read_file_names %s" | 5424 | "tramp_vc_registered_read_file_names <<'EOF'\n%s\nEOF\n" |
| 5423 | (mapconcat 'tramp-shell-quote-argument | 5425 | (mapconcat 'tramp-shell-quote-argument |
| 5424 | tramp-vc-registered-file-names | 5426 | tramp-vc-registered-file-names |
| 5425 | " ")))) | 5427 | "\n")))) |
| 5426 | 5428 | ||
| 5427 | (tramp-set-file-property | 5429 | (tramp-set-file-property |
| 5428 | v (car elt) (cadr elt) (cadr (cdr elt)))))) | 5430 | v (car elt) (cadr elt) (cadr (cdr elt)))))) |
| @@ -8984,8 +8986,6 @@ Only works for Bourne-like shells." | |||
| 8984 | ;; * Load Tramp subpackages only when needed. (Bug#1529, Bug#5448, Bug#5705) | 8986 | ;; * Load Tramp subpackages only when needed. (Bug#1529, Bug#5448, Bug#5705) |
| 8985 | ;; * Try telnet+curl as new method. It might be useful for busybox, | 8987 | ;; * Try telnet+curl as new method. It might be useful for busybox, |
| 8986 | ;; without built-in uuencode/uudecode. | 8988 | ;; without built-in uuencode/uudecode. |
| 8987 | ;; * Let `shell-dynamic-complete-*' and `comint-dynamic-complete' work | ||
| 8988 | ;; on remote hosts. | ||
| 8989 | ;; * Load ~/.emacs_SHELLNAME on the remote host for `shell'. | 8989 | ;; * Load ~/.emacs_SHELLNAME on the remote host for `shell'. |
| 8990 | 8990 | ||
| 8991 | ;; Functions for file-name-handler-alist: | 8991 | ;; Functions for file-name-handler-alist: |