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

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

RE: [External] : Execute commands with unless on symbols


From: Drew Adams
Subject: RE: [External] : Execute commands with unless on symbols
Date: Sat, 8 Oct 2022 16:24:29 +0000

> (defconst modust-statck 'go)
> (unless modust-statck

Yes.  Doesn't that do what you ask?

On the other hand, `defconst' is specifically
intended to give the message to human readers
that neither humans nor code are expected to
change the value of the variable.  It's a
proclamation to human readers that the var is
really a constant.

And if it's really a constant, then why test
it (e.g. with `unless')?  Either you should
use `defvar' or you just do XYZ instead of
(unless modust-statck XYZ).  No?

reply via email to

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