summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/ewoc.el
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2017-01-18 19:49:58 +0100
committerPhilipp Stephani <phst@google.com>2017-01-19 17:17:50 +0100
commit9c4e3097b595c739bb29261759b9ba631431329e (patch)
treec1b3bf8f62a29dd9289fea6f7342b7765b3d70a8 /lisp/emacs-lisp/ewoc.el
parent8c0fcaf66733f0538a3f024f383cb34a3c93d73c (diff)
downloademacs-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/ewoc.el')
0 files changed, 0 insertions, 0 deletions