diff options
| author | Michael Albinus | 2018-10-22 09:05:48 +0200 |
|---|---|---|
| committer | Michael Albinus | 2018-10-22 09:05:48 +0200 |
| commit | 1d2b386ec4dcd8a5844fae3173ba454a51999a56 (patch) | |
| tree | 3a6a0954e60ba9cf7e2fb3584703f02dd2c9199f | |
| parent | 969b561972527b0471f9d1b29e0190e978ad8bc1 (diff) | |
| download | emacs-1d2b386ec4dcd8a5844fae3173ba454a51999a56.tar.gz emacs-1d2b386ec4dcd8a5844fae3173ba454a51999a56.zip | |
Improve Tramp backward compatibility
* lisp/net/tramp-compat.el: (tramp-unload-file-name-handlers):
Declare it, for backward compatibility.
| -rw-r--r-- | lisp/net/tramp-compat.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/net/tramp-compat.el b/lisp/net/tramp-compat.el index c3777e6e737..ec8e54509d1 100644 --- a/lisp/net/tramp-compat.el +++ b/lisp/net/tramp-compat.el | |||
| @@ -29,6 +29,11 @@ | |||
| 29 | 29 | ||
| 30 | ;;; Code: | 30 | ;;; Code: |
| 31 | 31 | ||
| 32 | ;; In Emacs 24 and 25, `tramp-unload-file-name-handlers' is not | ||
| 33 | ;; autoloaded. So we declare it here in order to avoid recursive | ||
| 34 | ;; load. This will be overwritten in tramp.el. | ||
| 35 | (defun tramp-unload-file-name-handlers ()) | ||
| 36 | |||
| 32 | (require 'auth-source) | 37 | (require 'auth-source) |
| 33 | (require 'advice) | 38 | (require 'advice) |
| 34 | (require 'cl-lib) | 39 | (require 'cl-lib) |