aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Paul Wallington2006-01-30 19:55:29 +0000
committerJohn Paul Wallington2006-01-30 19:55:29 +0000
commit28ac46f87d7254fa03072625609b65cadd9e09b5 (patch)
tree7f4313df768f1c7f74cda136ae11e00a03ffcacb
parenta3bc032f5cfe9bcb94d80c14efbdb0ab843e46da (diff)
downloademacs-28ac46f87d7254fa03072625609b65cadd9e09b5.tar.gz
emacs-28ac46f87d7254fa03072625609b65cadd9e09b5.zip
(toplevel): Define `cl-assertion-failed' condition here because the
`assert' macro from the cl package signals it at runtime.
-rw-r--r--lisp/subr.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index d335a1d4e0f..94d667bb5f2 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1831,6 +1831,12 @@ mode.")
1831This variable is meaningful on MS-DOG and Windows NT. 1831This variable is meaningful on MS-DOG and Windows NT.
1832On those systems, it is automatically local in every buffer. 1832On those systems, it is automatically local in every buffer.
1833On other systems, this variable is normally always nil.") 1833On other systems, this variable is normally always nil.")
1834
1835;; The `assert' macro from the cl package signals
1836;; `cl-assertion-failed' at runtime so always define it.
1837(put 'cl-assertion-failed 'error-conditions '(error))
1838(put 'cl-assertion-failed 'error-message "Assertion failed")
1839
1834 1840
1835;;;; Misc. useful functions. 1841;;;; Misc. useful functions.
1836 1842