diff options
author | Nicolas Petton <nicolas@petton.fr> | 2015-04-24 19:06:27 +0200 |
---|---|---|
committer | Nicolas Petton <nicolas@petton.fr> | 2015-04-24 19:10:45 +0200 |
commit | f37e265ea992f5799f1bf30a03509444c976df1d (patch) | |
tree | 18946d61e195148201b9aa18e6e6550a6bd8dd53 /lisp/emacs-lisp/package.el | |
parent | 89baf163324c6820ca17e91cda9dc8b162a59eab (diff) | |
download | emacs-f37e265ea992f5799f1bf30a03509444c976df1d.tar.gz |
Minor improvement in map-elt.
* lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
doing a lookup in arrays, but check the boundaries of the array
instead.
* test/automated/map-tests.el: Adds a test for `map-elt' with arrays
and a negative integer as key.
Diffstat (limited to 'lisp/emacs-lisp/package.el')
0 files changed, 0 insertions, 0 deletions