]> git.eshelyaron.com Git - emacs.git/commit
* lisp/emacs-lisp/cl-macs.el: More care with `eval` and with `cl-typep`
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 10 Mar 2020 22:23:41 +0000 (18:23 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 10 Mar 2020 22:23:41 +0000 (18:23 -0400)
commit0d6c51320d8066db867aae0e623d9731c69121ed
tree44c3fa2734b584d3c1fc6b5a8e3f62b61373b994
parentefe85a5b60b016eb3d11829c9590b54d935dd0c6
* lisp/emacs-lisp/cl-macs.el: More care with `eval` and with `cl-typep`

(cl-eval-when, cl--compile-time-too, cl-load-time-value):
Obey lexical-binding.
(cl-check-type): Prefer the predicate rather than the type in the
error signal when it's easy to do (as is done outside of CL).
(cl-deftype-satisfies): Add definitions for standard types.
lisp/emacs-lisp/cl-macs.el