[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 72ef710: Fix call to debugger on assertion failur
From: |
Noam Postavsky |
Subject: |
[Emacs-diffs] emacs-25 72ef710: Fix call to debugger on assertion failure |
Date: |
Tue, 31 Jan 2017 02:51:55 +0000 (UTC) |
branch: emacs-25
commit 72ef710f6e1c8e334fd50da9480a8cb151e823a2
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>
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'.
---
lisp/emacs-lisp/cl-preloaded.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/cl-preloaded.el b/lisp/emacs-lisp/cl-preloaded.el
index 0b07941..4ae77a5 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)))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-25 72ef710: Fix call to debugger on assertion failure,
Noam Postavsky <=