emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 1d2b386: Improve Tramp backward compatibility


From: Michael Albinus
Subject: [Emacs-diffs] master 1d2b386: Improve Tramp backward compatibility
Date: Mon, 22 Oct 2018 03:06:21 -0400 (EDT)

branch: master
commit 1d2b386ec4dcd8a5844fae3173ba454a51999a56
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    Improve Tramp backward compatibility
    
    * lisp/net/tramp-compat.el: (tramp-unload-file-name-handlers):
    Declare it, for backward compatibility.
---
 lisp/net/tramp-compat.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lisp/net/tramp-compat.el b/lisp/net/tramp-compat.el
index c3777e6..ec8e545 100644
--- a/lisp/net/tramp-compat.el
+++ b/lisp/net/tramp-compat.el
@@ -29,6 +29,11 @@
 
 ;;; 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]