unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 47426@debbugs.gnu.org
Subject: bug#47426: 26.3; Doc of `plist-member' needs to say that it uses `eq'
Date: Sun, 28 Mar 2021 14:59:44 +0200	[thread overview]
Message-ID: <8735wf77sv.fsf@gnus.org> (raw)
In-Reply-To: <SA2PR10MB4474B8D50D3E7EC57876A324F3619@SA2PR10MB4474.namprd10.prod.outlook.com> (Drew Adams's message of "Fri, 26 Mar 2021 22:17:47 +0000")

Drew Adams <drew.adams@oracle.com> writes:

> Subject line says it all.  The doc for `plist-get' and `plist-put' says
> that `eq' is used.  (elisp) Plist Access says nothing for `plist-member'.

The node says

---
They all compare property names using @code{eq}.
---

and plist-member is in that noe, so I think it's covered.  The doc
string of `plist-get' mentions `eq', but the doc string of the other two
don't, so I've now added that in Emacs 28.

In addition, those doc strings (but not `plist-get's) claimed that PROP
has to be a symbol, which isn't strictly true -- it just has to be
something that has a meaningful eq, so it works for (some) numbers, too.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2021-03-28 12:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-26 22:17 bug#47426: 26.3; Doc of `plist-member' needs to say that it uses `eq' Drew Adams
2021-03-28 12:59 ` Lars Ingebrigtsen [this message]

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=8735wf77sv.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=47426@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /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).