summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2022-09-12 08:52:08 +0200
committerMichael Albinus <michael.albinus@gmx.de>2022-09-12 08:52:08 +0200
commit2a4f2ba91a1bbcda9c8b452e61f36758527f16ff (patch)
tree2d27bb741a2d78b6dc428732383cff7e5997adbd
parent239bad7921fc38891dc4ee09b57c96d32100f19f (diff)
downloademacs-2a4f2ba91a1bbcda9c8b452e61f36758527f16ff.tar.gz
Fix Tramp test
* lisp/net/tramp-compat.el (tramp-compat-rx): Add `tramp-autoload' function property.
-rw-r--r--lisp/net/tramp-compat.el2
1 files changed, 2 insertions, 0 deletions
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