diff options
Diffstat (limited to 'chess-maint.el')
| -rw-r--r-- | chess-maint.el | 8 |
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) |
