emacs-devel
[Top][All Lists]
Advanced

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

simplifying cond*


From: Richard Stallman
Subject: simplifying cond*
Date: Sun, 29 Dec 2024 23:00:35 -0500

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

In writing text about cond* for the ELisp Reference Manual, I realized that
I can simplify its usage conventions with no change in the code.
Only the doc-string will change.

The change would document that all non-exit clauses are one-element clauses
and all one-element clauses are non-exit clauses.  That would be true,
for all the clauses that will remain documented as acceptable
after this change.

The doc string would recommend

   ((progn BODY...))

instead of

   (t BODY...)

and

   ((when COND BODY...))

instead of

   (COND BODY... :non-exit)

WDYT?

Eli, I would like to put this change into version 30.
It can't break anything.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





reply via email to

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