diff options
author | Philipp Stephani <phst@google.com> | 2017-01-18 19:49:58 +0100 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2017-01-19 17:17:50 +0100 |
commit | 9c4e3097b595c739bb29261759b9ba631431329e (patch) | |
tree | c1b3bf8f62a29dd9289fea6f7342b7765b3d70a8 /lisp/emacs-lisp/cl-lib.el | |
parent | 8c0fcaf66733f0538a3f024f383cb34a3c93d73c (diff) | |
download | emacs-9c4e3097b595c739bb29261759b9ba631431329e.tar.gz emacs-9c4e3097b595c739bb29261759b9ba631431329e.tar.bz2 emacs-9c4e3097b595c739bb29261759b9ba631431329e.zip |
Check that variable lists are actually lists
'let' and 'let*' document that their first argument has to be a list,
but don't check for that; instead, they allow (and silently ignore)
other types. Introduce an explicit type check.
* src/eval.c (Flet, FletX): Check that the variable list is indeed a
list.
* test/src/eval-tests.el: Add unit tests.
Diffstat (limited to 'lisp/emacs-lisp/cl-lib.el')
0 files changed, 0 insertions, 0 deletions