summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/ert-x.el
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2022-07-10 20:07:37 +0200
committerMichael Albinus <michael.albinus@gmx.de>2022-07-10 20:07:37 +0200
commitc6f676154581ce6a4a59b5c12e1e3b6ee685fe19 (patch)
tree90a9c2620b677c196daa1abaac57d128f89f66f0 /lisp/emacs-lisp/ert-x.el
parent27c3a8b27707e401dfa28e833fcf12731d89669e (diff)
downloademacs-c6f676154581ce6a4a59b5c12e1e3b6ee685fe19.tar.gz
; * lisp/emacs-lisp/ert-x.el (tramp-remote-path): Fix last change.
Diffstat (limited to 'lisp/emacs-lisp/ert-x.el')
-rw-r--r--lisp/emacs-lisp/ert-x.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/ert-x.el b/lisp/emacs-lisp/ert-x.el
index 21a967cb4c9..4436d0a4b16 100644
--- a/lisp/emacs-lisp/ert-x.el
+++ b/lisp/emacs-lisp/ert-x.el
@@ -493,7 +493,7 @@ The same keyword arguments are supported as in
(defvar tramp-remote-path)
;; This should happen on hydra only.
-(when (getenv "EMACS_HYDRA_CI")
+(when (and (featurep 'tramp) (getenv "EMACS_HYDRA_CI"))
(add-to-list 'tramp-remote-path 'tramp-own-remote-path))
;; If this defconst is used in a test file, `tramp' shall be loaded