]> git.eshelyaron.com Git - emacs.git/commit
Fix compilation warnings in tramp-loaddefs.el
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 31 Jul 2022 10:01:10 +0000 (12:01 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 31 Jul 2022 10:01:10 +0000 (12:01 +0200)
commit623356ee946d695771d92ac4a03cd10d30bd505f
treef632501f12695fe05344ef0d761fa21e300e094a
parent2682ea1b3a9524eb54efac41b3221b514374c232
Fix compilation warnings in tramp-loaddefs.el

* lisp/files.el (file-name-quoted-p): Autoload because it's
referred to from tramp-loaddefs.
* lisp/net/tramp.el (defvar): Put the entire form into the
loaddefs file instead of eval-and-compile -- this fixes a
dependency problem when byte-compiling the loaddefs file.
(tramp-methods, tramp-default-method-alist)
(tramp-default-user-alist, tramp-default-host-alist)
(tramp-local-host-regexp, tramp-terminal-type)
(tramp-foreign-file-name-handler-alist): Autoload to avoid
compilation warnings.  Also put (require 'cl-lib) into the
loaddefs file for the same reason.
(tramp-ensure-dissected-file-name)
(tramp-set-completion-function)
(tramp-register-foreign-file-name-handler): Autoload.
lisp/files.el
lisp/net/tramp-compat.el
lisp/net/tramp.el