diff options
author | Nicolas Petton <nicolas@petton.fr> | 2015-04-24 19:29:59 +0200 |
---|---|---|
committer | Nicolas Petton <nicolas@petton.fr> | 2015-04-24 19:29:59 +0200 |
commit | d75151a671dcdc1cac8c6ab1a47520bae4872d70 (patch) | |
tree | 0b680ef21bb81cf0f3e0bce37426545f5f1d056b /lisp/emacs-lisp/elint.el | |
parent | 79d9757c2334364a78a2e40b75d8d4e96161a911 (diff) | |
download | emacs-d75151a671dcdc1cac8c6ab1a47520bae4872d70.tar.gz |
Do not signal an error when trying to delete a key from an array
* lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
the key is present to avoid signaling an error.
* test/automated/map-tests.el: Add a test for deleting non-existing
keys from maps.
Diffstat (limited to 'lisp/emacs-lisp/elint.el')
0 files changed, 0 insertions, 0 deletions