]> code.delx.au - gnu-emacs/commit
Throw an error when converting a map into an unknown map type
authorNicolas Petton <nicolas@petton.fr>
Sat, 18 Apr 2015 14:35:43 +0000 (16:35 +0200)
committerNicolas Petton <nicolas@petton.fr>
Sat, 18 Apr 2015 14:35:43 +0000 (16:35 +0200)
commit35c27cd5818bede77279dc7e5cf1beec93766baa
tree60311e38c60f099ddd963547336ac49f202c4db8
parentc3acb3258df5fc0987fdd233062632ed030923d9
Throw an error when converting a map into an unknown map type

* lisp/emacs-lisp/map.el (map-into): Throw an error if type is not valid.
* test/automated/map-test.el: Add a regression test.
lisp/emacs-lisp/map.el
test/automated/map-test.el