Improve XEmacs compatibility of Tramp
commitacfb5cd0353406784f085ddb6edfb0d0587048c8
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 4 Oct 2015 11:00:33 +0000 (4 13:00 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Sun, 4 Oct 2015 11:00:33 +0000 (4 13:00 +0200)
tree8e42498109553516b9aee8662b91c365995d16ee
parentb28beb11f3ed93af0f53fb87838bbcab0b469dfb
Improve XEmacs compatibility of Tramp

* lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
Declare if it doesn't exist.
(file-remote-p): Remove defalias, which was necessary for GNU Emacs 21.
(redisplay): Make it an alias if it doesn't exist.

* lisp/net/tramp.el (tramp-get-remote-tmpdir): Don't use
`file-remote-p' (due to XEmacs compatibility).

* lisp/net/trampver.el (locate-dominating-file)
(tramp-compat-replace-regexp-in-string): Autoload.
(tramp-repository-get-version): Do not dupe byte-compiler.
lisp/net/tramp-compat.el
lisp/net/tramp.el
lisp/net/trampver.el