]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve Tramp backward compatibility
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 22 Oct 2018 07:05:48 +0000 (09:05 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 22 Oct 2018 07:05:48 +0000 (09:05 +0200)
* lisp/net/tramp-compat.el: (tramp-unload-file-name-handlers):
Declare it, for backward compatibility.

lisp/net/tramp-compat.el

index c3777e6e737ca7c8e85a600a3ff90b0392d0028e..ec8e54509d17883b2f8c4454cdbbeeccdab6c033 100644 (file)
 
 ;;; Code:
 
+;; In Emacs 24 and 25, `tramp-unload-file-name-handlers' is not
+;; autoloaded.  So we declare it here in order to avoid recursive
+;; load.  This will be overwritten in tramp.el.
+(defun tramp-unload-file-name-handlers ())
+
 (require 'auth-source)
 (require 'advice)
 (require 'cl-lib)