diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2017-05-04 12:21:32 +0200 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2017-05-04 12:21:32 +0200 |
commit | b0370a89f6dd57b95be30b8218e17c12d886c27a (patch) | |
tree | 180961604225644bf8442c151178ea04e5e69e92 /lisp/net/tramp-sh.el | |
parent | 5c4dbbb745f31fda95843bbc6d2fd070b9473c65 (diff) | |
download | emacs-b0370a89f6dd57b95be30b8218e17c12d886c27a.tar.gz emacs-b0370a89f6dd57b95be30b8218e17c12d886c27a.tar.bz2 emacs-b0370a89f6dd57b95be30b8218e17c12d886c27a.zip |
Set process property `adjust-window-size-function' to `ignore' in Tramp
* lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
(tramp-adb-maybe-open-connection):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
(tramp-maybe-open-connection):
* lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
(tramp-smb-handle-file-acl, tramp-smb-handle-set-file-acl)
(tramp-smb-maybe-open-connection): Set process property
`adjust-window-size-function' to `ignore'.
Diffstat (limited to 'lisp/net/tramp-sh.el')
-rw-r--r-- | lisp/net/tramp-sh.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el index 71afb9aeb75..971cdaedf82 100644 --- a/lisp/net/tramp-sh.el +++ b/lisp/net/tramp-sh.el @@ -2517,6 +2517,7 @@ The method used must be an out-of-band method." command)))) (tramp-message orig-vec 6 "%s" command) (tramp-set-connection-property p "vector" orig-vec) + (process-put p 'adjust-window-size-function 'ignore) (set-process-query-on-exit-flag p nil) ;; We must adapt `tramp-local-end-of-line' for @@ -4719,6 +4720,7 @@ connection if a previous connection has died for some reason." ;; Set sentinel and query flag. (tramp-set-connection-property p "vector" vec) (set-process-sentinel p 'tramp-process-sentinel) + (process-put p 'adjust-window-size-function 'ignore) (set-process-query-on-exit-flag p nil) (setq tramp-current-connection (cons (butlast (append vec nil) 2) (current-time)) |