From: Juanma Barranquero <lekktu@gmail.com>
To: Damien Cassou <damien@cassou.me>
Cc: Nicolas Petton <nicolas@petton.fr>, 38375@debbugs.gnu.org
Subject: bug#38375: 26.3.50; map-contains-key can't detect nil
Date: Tue, 26 Nov 2019 00:22:07 +0100 [thread overview]
Message-ID: <CAAeL0STxFWFB6KPRw6uHKE1hDYUYc6mYCRnOo5axpnoV6pjDPg@mail.gmail.com> (raw)
In-Reply-To: <874kyr3mix.fsf@cassou.me>
[-- Attachment #1: Type: text/plain, Size: 371 bytes --]
On Mon, Nov 25, 2019 at 10:38 PM Damien Cassou <damien@cassou.me> wrote:
> The code below inserts the pair (nil, 'value) in a hash table. I expect
> `map-contains-key' to return t when passed the key nil as argument.
It does in 27.0.50:
ELISP> (let ((map (make-hash-table :test 'equal)))
(puthash nil 'value map)
(map-contains-key map nil))
t
ELISP>
[-- Attachment #2: Type: text/html, Size: 604 bytes --]
next prev parent reply other threads:[~2019-11-25 23:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-25 17:15 bug#38375: 26.3.50; map-contains-key can't detect nil Damien Cassou
2019-11-25 23:22 ` Juanma Barranquero [this message]
2019-11-25 23:34 ` Michael Heerdegen
2019-11-26 15:12 ` Damien Cassou
2019-11-26 15:44 ` Michael Heerdegen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAAeL0STxFWFB6KPRw6uHKE1hDYUYc6mYCRnOo5axpnoV6pjDPg@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=38375@debbugs.gnu.org \
--cc=damien@cassou.me \
--cc=nicolas@petton.fr \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.