emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master c6f6761545: ; * lisp/emacs-lisp/ert-x.el (tramp-remote-path): Fix


From: Michael Albinus
Subject: master c6f6761545: ; * lisp/emacs-lisp/ert-x.el (tramp-remote-path): Fix last change.
Date: Sun, 10 Jul 2022 14:07:47 -0400 (EDT)

branch: master
commit c6f676154581ce6a4a59b5c12e1e3b6ee685fe19
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>

    ; * lisp/emacs-lisp/ert-x.el (tramp-remote-path): Fix last change.
---
 lisp/emacs-lisp/ert-x.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/ert-x.el b/lisp/emacs-lisp/ert-x.el
index 21a967cb4c..4436d0a4b1 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]