1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-26 08:10:47 -07:00

tramp fixes for byte-compiling loaddefs.el

* 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.
This commit is contained in:
Lars Ingebrigtsen 2022-07-31 11:24:23 +02:00
parent c5df73941e
commit 0a0e1ed0e0
2 changed files with 2 additions and 1 deletions

View 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

View 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."