summaryrefslogtreecommitdiff
path: root/chess-maint.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-30 19:48:28 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-30 19:48:28 +0000
commit07df6a3455c8d6b108549e44d20bf151df2f3409 (patch)
treef2483855093fabfc5edd0551a07722a1bc776965 /chess-maint.el
parentd4993c54eb9b6ab904db8ed43189ac0b561092aa (diff)
removed dependencies on cl
Diffstat (limited to 'chess-maint.el')
-rw-r--r--chess-maint.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/chess-maint.el b/chess-maint.el
index 2854507..5a9b65b 100644
--- a/chess-maint.el
+++ b/chess-maint.el
@@ -1,13 +1,17 @@
(add-to-list 'load-path ".")
-(require 'cl)
+(require 'pp)
(require 'chess)
(require 'chess-pgn)
+(defmacro assert (form)
+ (unless (byte-compiling-files-p)
+ `(unless ,form
+ (error "Assertion failed: %s" (pp-to-string ,form)))))
+
(defun chess-generate-texinfo-file ()
(require 'lispdoc)
(require 'texinfo)
- (require 'pp)
(with-temp-buffer
(insert-file-contents-literally "chess.texi")
(texinfo-mode)