Fix Tramp test

* lisp/net/tramp-compat.el (tramp-compat-rx):
Add `tramp-autoload' function property.
This commit is contained in:
Michael Albinus 2022-09-12 08:52:08 +02:00
parent 239bad7921
commit 2a4f2ba91a

View file

@ -222,6 +222,8 @@ CONDITION can also be a list of error conditions."
;; This is needed for compilation in the Emacs source tree.
;;;###autoload (defalias 'tramp-compat-rx #'rx)
(put #'tramp-compat-rx 'tramp-autoload t)
;; `file-modes', `set-file-modes' and `set-file-times' got argument
;; FLAG in Emacs 28.1.
(defalias 'tramp-compat-file-modes