diff options
author | Philipp Stephani <phst@google.com> | 2017-09-02 21:08:04 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2017-09-02 21:08:04 +0200 |
commit | 71766a45f1edb02ec5107803a7f7a8e17809b093 (patch) | |
tree | a2b5f8d72f6a6213646814fa0c6c8556617b23ea /lisp/emacs-lisp/byte-run.el | |
parent | dbe1e55dc4064e82813f6b84ee4297d8fc45b2fc (diff) | |
download | emacs-71766a45f1edb02ec5107803a7f7a8e17809b093.tar.gz emacs-71766a45f1edb02ec5107803a7f7a8e17809b093.tar.bz2 emacs-71766a45f1edb02ec5107803a7f7a8e17809b093.zip |
Improve error messages for improper plists (Bug#27726)
* src/fns.c (Fplist_put, Flax_plist_get, Flax_plist_put)
(Fplist_member, syms_of_fns): Use ‘plistp’ as pseudo-predicate for
improper plists instead of ‘listp.’
* test/src/fns-tests.el (plist-get/odd-number-of-elements)
(lax-plist-get/odd-number-of-elements)
(plist-put/odd-number-of-elements)
(lax-plist-put/odd-number-of-elements)
(plist-member/improper-list): Add unit tests.
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
0 files changed, 0 insertions, 0 deletions