From: Eli Zaretskii <eliz@gnu.org>
To: "Brennan Vincent" <brennan@umanwizard.com>,
"Mattias Engdegård" <mattiase@acm.org>
Cc: 74215@debbugs.gnu.org
Subject: bug#74215: (when 1) evaluates to 1 on latest master
Date: Tue, 05 Nov 2024 21:12:20 +0200 [thread overview]
Message-ID: <86zfmdsdez.fsf@gnu.org> (raw)
In-Reply-To: <87v7x1lfxs.fsf@denver.mail-host-address-is-not-set> (brennan@umanwizard.com)
> 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?
next prev parent reply other threads:[~2024-11-05 19:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-05 17:59 bug#74215: (when 1) evaluates to 1 on latest master Brennan Vincent
2024-11-05 19:12 ` Eli Zaretskii [this message]
2024-11-06 12:49 ` Mattias Engdegård
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86zfmdsdez.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=74215@debbugs.gnu.org \
--cc=brennan@umanwizard.com \
--cc=mattiase@acm.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).