emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 0744c35: Fix error in Tramp's encoding check


From: Michael Albinus
Subject: [Emacs-diffs] master 0744c35: Fix error in Tramp's encoding check
Date: Thu, 24 Jan 2019 05:06:48 -0500 (EST)

branch: master
commit 0744c35307d544d960c9d7628ea91ad722ff6217
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    Fix error in Tramp's encoding check
    
    * lisp/net/tramp-sh.el (tramp-find-inline-encoding):
    Use `tramp-get-connection-buffer'.
---
 lisp/net/tramp-sh.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
index d0e7357..c578a73 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
                           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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]