* bug#74215: (when 1) evaluates to 1 on latest master
@ 2024-11-05 17:59 Brennan Vincent
2024-11-05 19:12 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Brennan Vincent @ 2024-11-05 17:59 UTC (permalink / raw)
To: 74215
(when 1) evaluates to 1, rather than nil, on latest master. This is
contrary to the documentation, which reads:
When COND yields non-nil, eval BODY forms sequentially and return
value of last one, or nil if there are none.
According to some discussion on IRC (thanks thuna`), this seems to have
been introduced here:
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=7c63b632e4e
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#74215: (when 1) evaluates to 1 on latest master
2024-11-05 17:59 bug#74215: (when 1) evaluates to 1 on latest master Brennan Vincent
@ 2024-11-05 19:12 ` Eli Zaretskii
2024-11-06 12:49 ` Mattias Engdegård
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2024-11-05 19:12 UTC (permalink / raw)
To: Brennan Vincent, Mattias Engdegård; +Cc: 74215
> From: "Brennan Vincent" <brennan@umanwizard.com>
> Date: Tue, 05 Nov 2024 12:59:43 -0500
>
> (when 1) evaluates to 1, rather than nil, on latest master. This is
> contrary to the documentation, which reads:
>
> When COND yields non-nil, eval BODY forms sequentially and return
> value of last one, or nil if there are none.
>
> According to some discussion on IRC (thanks thuna`), this seems to have
> been introduced here:
>
> https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=7c63b632e4e
Thanks. Emacs 30 also shows this behavior, but Emacs 29 doesn't.
Mattias, could you please take a look?
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#74215: (when 1) evaluates to 1 on latest master
2024-11-05 19:12 ` Eli Zaretskii
@ 2024-11-06 12:49 ` Mattias Engdegård
0 siblings, 0 replies; 3+ messages in thread
From: Mattias Engdegård @ 2024-11-06 12:49 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Brennan Vincent, 74215-done
>> (when 1) evaluates to 1, rather than nil
Very sorry about that; now fixed. Thank you for reporting it!
(I haven't had much Emacs time lately and am clearly building up a backlog but this was clearly my fault and quickly remedied.)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-11-06 12:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-05 17:59 bug#74215: (when 1) evaluates to 1 on latest master Brennan Vincent
2024-11-05 19:12 ` Eli Zaretskii
2024-11-06 12:49 ` Mattias Engdegård
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).