|
From: | Basil L. Contovounesios |
Subject: | bug#47425: 26.3; `plist-get', `plist-put' should accept a TEST function |
Date: | Tue, 28 Jun 2022 18:23:48 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
(let ((plist (list :a t))) (setf (plist-get plist :a) nil) plist) ;; => (:a nil) (let ((plist (list :a t))) (setf (plist-get plist :a #'eq) nil) plist) ;; error-> wrong-number-of-arguments Do we want the expander in gv.el to understand the new argument? There's also the question of map.el. Custom predicates are deprecated there, since they rely on knowing the underlying map type. Do we want plist operations to understand custom predicates regardless? Thanks, -- Basil
[Prev in Thread] | Current Thread | [Next in Thread] |