help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Question Regarding Why Hydra For SSH Connections Isn't Working


From: Michael Albinus
Subject: Re: Question Regarding Why Hydra For SSH Connections Isn't Working
Date: Tue, 08 Feb 2022 09:36:25 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

"Samuel Banya" <sbanya@fastmail.com> writes:

> Hey there,

Hi Sam,

> *Can anyone help me figure out why my Hydra isn't working:*
>
>   (if (equal (system-name) '("notestation" "fossastation"))

This looks wrong. (system-name) returns a string, not a list. And (if ...)
allows only one form in its then-part. So I would write

(when (member (system-name) '("notestation" "fossastation")) ...)

> Thanks!
>
> Sam

Best regards, Michael.



reply via email to

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