summaryrefslogtreecommitdiff
path: root/chess-game.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-game.el')
-rw-r--r--chess-game.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/chess-game.el b/chess-game.el
index 091263f..e6b70fa 100644
--- a/chess-game.el
+++ b/chess-game.el
@@ -12,6 +12,9 @@
(require 'chess-ply)
(require 'chess-algebraic)
+(defvar chess-illegal nil)
+(put 'chess-illegal 'error-conditions '(error))
+
(defconst chess-game-default-tags
`(("Event" . "Computer chess game")
("Round" . "-")