Commit d59eb518 authored by Michael Albinus's avatar Michael Albinus
Browse files

* net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether

SIZE is a number.
parent 4fc2b746
2011-06-23 Michael Albinus <michael.albinus@gmx.de>
* net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
SIZE is a number.
2011-06-23 Martin Rudalics <rudalics@gmx.at>
* window.el (get-lru-window, get-mru-window)
......
......@@ -4661,6 +4661,8 @@ This is used internally by `tramp-file-mode-from-int'."
(and
;; It shall be an out-of-band method.
(tramp-get-method-parameter (tramp-file-name-method vec) 'tramp-copy-program)
;; There must be a size, otherwise the file doesn't exist.
(numberp size)
;; Either the file size is large enough, or (in rare cases) there
;; does not exist a remote encoding.
(or (null tramp-copy-size-limit)
......
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