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

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

RE: [External] : Re: Functions with multiple optional arguments


From: Drew Adams
Subject: RE: [External] : Re: Functions with multiple optional arguments
Date: Mon, 17 Oct 2022 17:38:16 +0000

> Your adaptation is much neater.  Did not realise that equality
> on symbols should be (eq 'actm 'nogo) rather than (eq actm 'nogo).
> Do you have time to describe what does wrong with (eq actm 'nogo)?

No.  In fact, I meant to write (eq actm 'nogo).
Quoting actm was a typo - you want to test its
value.  (eq actm 'nogo) is what it should be.

(eq 'actm 'nogo) will never be non-nil - those
are different values (symbols).

reply via email to

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