]> git.eshelyaron.com Git - emacs.git/commit
Don't call debug on failed cl-assert
authorNoam Postavsky <npostavs@gmail.com>
Sat, 5 Nov 2016 01:40:16 +0000 (21:40 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 5 Nov 2016 01:40:16 +0000 (21:40 -0400)
commitdb436e93cae16b34b951c2f210705fbd30ad2922
tree751f61da360c5d13c4f08a1398e26c682d0d36ae
parentacae275b2752357497a2411876b83240ce7c8aec
Don't call debug on failed cl-assert

Doing this causes problems when running ert tests, for
instance (Bug#24778).  The call to `debug` when `debug-on-error' is
non-nil was introduced in 2015-02-14 "* lisp/emacs-lisp/cl*.el: Use
define-inline and move some code...".

* lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): Don't call
`debug' directly.
lisp/emacs-lisp/cl-preloaded.el