diff options
author | Nicolas Petton <nicolas@petton.fr> | 2015-04-25 12:07:12 +0200 |
---|---|---|
committer | Nicolas Petton <nicolas@petton.fr> | 2015-04-25 12:07:12 +0200 |
commit | 62879799ea0272f2ed3067252f20afb910bce352 (patch) | |
tree | a1807809cd3c548076182440975f4eb97d20df2f /lisp/emacs-lisp/lisp.el | |
parent | eea2e831381a7b33ecfcd1c4dfee725a917befd3 (diff) | |
download | emacs-62879799ea0272f2ed3067252f20afb910bce352.tar.gz emacs-62879799ea0272f2ed3067252f20afb910bce352.tar.bz2 emacs-62879799ea0272f2ed3067252f20afb910bce352.zip |
Fix a false negative in `map-elt' with alists and values being nil
* lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
found but its associated value is nil, do not return the default
value.
* test/automated/map-tests.el: Add a regression test.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions