diff options
author | Noam Postavsky <npostavs@gmail.com> | 2017-01-30 21:45:02 -0500 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2017-01-30 21:45:02 -0500 |
commit | 72ef710f6e1c8e334fd50da9480a8cb151e823a2 (patch) | |
tree | a6223c87cf22f9f2b72f36ec019a78f74df64a80 /lisp/emacs-lisp | |
parent | ae8264c5cccf19d5b25a340a605bf2f07de1577e (diff) | |
download | emacs-72ef710f6e1c8e334fd50da9480a8cb151e823a2.tar.gz |
Fix call to debugger on assertion failure
* lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): The first
argument must be `error', and the second is a list of arguments for
`signal'.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/cl-preloaded.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/cl-preloaded.el b/lisp/emacs-lisp/cl-preloaded.el index 0b079410002..4ae77a58ec9 100644 --- a/lisp/emacs-lisp/cl-preloaded.el +++ b/lisp/emacs-lisp/cl-preloaded.el @@ -45,7 +45,7 @@ (defun cl--assertion-failed (form &optional string sargs args) (if debug-on-error - (funcall debugger `(cl-assertion-failed ,form ,string ,@sargs)) + (funcall debugger 'error `(cl-assertion-failed (,form ,string ,@sargs))) (if string (apply #'error string (append sargs args)) (signal 'cl-assertion-failed `(,form ,@sargs))))) |