[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/subr.el
From: |
John Paul Wallington |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/subr.el |
Date: |
Mon, 30 Jan 2006 19:55:29 +0000 |
Index: emacs/lisp/subr.el
diff -u emacs/lisp/subr.el:1.494 emacs/lisp/subr.el:1.495
--- emacs/lisp/subr.el:1.494 Thu Jan 26 17:54:27 2006
+++ emacs/lisp/subr.el Mon Jan 30 19:55:29 2006
@@ -1831,6 +1831,12 @@
This variable is meaningful on MS-DOG and Windows NT.
On those systems, it is automatically local in every buffer.
On other systems, this variable is normally always nil.")
+
+;; The `assert' macro from the cl package signals
+;; `cl-assertion-failed' at runtime so always define it.
+(put 'cl-assertion-failed 'error-conditions '(error))
+(put 'cl-assertion-failed 'error-message "Assertion failed")
+
;;;; Misc. useful functions.