unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#47426: 26.3; Doc of `plist-member' needs to say that it uses `eq'
@ 2021-03-26 22:17 Drew Adams
  2021-03-28 12:59 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2021-03-26 22:17 UTC (permalink / raw)
  To: 47426

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'.



In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.19041
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#47426: 26.3; Doc of `plist-member' needs to say that it uses `eq'
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-03-28 12:59 UTC (permalink / raw)
  To: Drew Adams; +Cc: 47426

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-03-28 12:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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

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).