From 2a4f2ba91a1bbcda9c8b452e61f36758527f16ff Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Mon, 12 Sep 2022 08:52:08 +0200 Subject: [PATCH] Fix Tramp test * lisp/net/tramp-compat.el (tramp-compat-rx): Add `tramp-autoload' function property. --- lisp/net/tramp-compat.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/net/tramp-compat.el b/lisp/net/tramp-compat.el index d33469f8dbb..aae15fafdf2 100644 --- a/lisp/net/tramp-compat.el +++ b/lisp/net/tramp-compat.el @@ -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 -- 2.39.2