aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNicolas Petton2015-04-24 19:06:27 +0200
committerNicolas Petton2015-04-24 19:10:45 +0200
commitf37e265ea992f5799f1bf30a03509444c976df1d (patch)
tree18946d61e195148201b9aa18e6e6550a6bd8dd53 /src
parent89baf163324c6820ca17e91cda9dc8b162a59eab (diff)
downloademacs-f37e265ea992f5799f1bf30a03509444c976df1d.tar.gz
emacs-f37e265ea992f5799f1bf30a03509444c976df1d.zip
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 'src')
0 files changed, 0 insertions, 0 deletions