mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-18 02:47:36 +00:00
* net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
SIZE is a number.
This commit is contained in:
parent
4fc2b746f7
commit
d59eb51849
2 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue