[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47427: 26.3; 1. Please define a built-in predicate `plistp', 2. wron
From: |
Lars Ingebrigtsen |
Subject: |
bug#47427: 26.3; 1. Please define a built-in predicate `plistp', 2. wrong type wrong-type-argument error |
Date: |
Mon, 27 Jun 2022 12:37:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Adding a `plistp' predicate
> would perhaps make sense, but it would just be
>
> (and (listp list)
> (zerop (mod (length list) 2)))
>
> and then we have the philosophical issue of "is nil a plist"? Does
> anybody have any opinions?
I decided that nil satisfies plistp, and I've now pushed a variant of
this to Emacs 29.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#47427: 26.3; 1. Please define a built-in predicate `plistp', 2. wrong type wrong-type-argument error,
Lars Ingebrigtsen <=