]> git.eshelyaron.com Git - emacs.git/commitdiff
tramp fixes for byte-compiling loaddefs.el
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 31 Jul 2022 09:24:23 +0000 (11:24 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 31 Jul 2022 09:24:23 +0000 (11:24 +0200)
* lisp/net/tramp-archive.el (tramp-archive-file-name-handler):
Move to the main loaddefs file since it's referred to by functions
there.
* lisp/net/tramp.el (tramp-file-name-handler): Autoload to avoid
warning when byte-compiling loaddefs.el.

lisp/net/tramp-archive.el
lisp/net/tramp.el

index 4f106a6b593d004875f6eb54b808e9c6f80d578a..b22449411020baece7e855bef27f56ecb891bfb6 100644 (file)
@@ -322,7 +322,7 @@ arguments to pass to the OPERATION."
         (inhibit-file-name-operation operation))
     (apply operation args))))
 
-;;;###tramp-autoload
+;;;###autoload
 (defun tramp-archive-file-name-handler (operation &rest args)
   "Invoke the file archive related OPERATION.
 First arg specifies the OPERATION, second arg ARGS is a list of
index faf3182d4aa93fe84d80e75d3f3a0c2e930ccedc..a808c79dd9831d7e4fa0686ecd82bf378dd6f279 100644 (file)
@@ -2684,6 +2684,7 @@ Must be handled by the callers."
       res)))
 
 ;; Main function.
+;;;###autoload
 (defun tramp-file-name-handler (operation &rest args)
   "Invoke Tramp file name handler for OPERATION and ARGS.
 Fall back to normal file name handler if no Tramp file name handler exists."