GNU bug report logs - #47426
26.3; Doc of `plist-member' needs to say that it uses `eq'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Fri, 26 Mar 2021 22:18:02 UTC

Severity: minor

Tags: fixed

Found in version 26.3

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 47426 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 47426 <at> debbugs.gnu.org
Subject: Re: bug#47426: 26.3; Doc of `plist-member' needs to say that it
 uses `eq'
Date: Sun, 28 Mar 2021 14:59:44 +0200
Drew Adams <drew.adams <at> 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




This bug report was last modified 4 years and 151 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.