Commit 0744c353 authored by Michael Albinus's avatar Michael Albinus

Fix error in Tramp's encoding check

* lisp/net/tramp-sh.el (tramp-find-inline-encoding):
Use `tramp-get-connection-buffer'.
parent d52bc534
Pipeline #610 passed with stage
in 55 minutes and 44 seconds
......@@ -4499,7 +4499,7 @@ Goes through the list `tramp-local-coding-commands' and
t)
(throw 'wont-work-remote nil))
(with-current-buffer (tramp-get-buffer vec)
(with-current-buffer (tramp-get-connection-buffer vec)
(goto-char (point-min))
(unless (looking-at-p (regexp-quote magic))
(throw 'wont-work-remote nil)))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment