diff options
| -rw-r--r-- | lisp/net/tramp-sh.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index d0e7357f8f5..c578a73f469 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el | |||
| @@ -4499,7 +4499,7 @@ Goes through the list `tramp-local-coding-commands' and | |||
| 4499 | t) | 4499 | t) |
| 4500 | (throw 'wont-work-remote nil)) | 4500 | (throw 'wont-work-remote nil)) |
| 4501 | 4501 | ||
| 4502 | (with-current-buffer (tramp-get-buffer vec) | 4502 | (with-current-buffer (tramp-get-connection-buffer vec) |
| 4503 | (goto-char (point-min)) | 4503 | (goto-char (point-min)) |
| 4504 | (unless (looking-at-p (regexp-quote magic)) | 4504 | (unless (looking-at-p (regexp-quote magic)) |
| 4505 | (throw 'wont-work-remote nil))) | 4505 | (throw 'wont-work-remote nil))) |