summaryrefslogtreecommitdiff
path: root/chess-maint.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-08 03:37:26 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-08 03:37:26 +0000
commitb60fd83dd950c2c5ef04f23f25bf0d25ac9c11db (patch)
treefb1c6e3aced45c08bcd1a3ee173a1c21afeff704 /chess-maint.el
parent48b77c46e15e664ffeab0c612418f4505c48f7b8 (diff)
Simplified the code, removed the 'search-function' nonsense. Even the
wackiest chess variants use standard move notation. `chess-ply-create' now fully validates and annotates the plies that it creates, based on the initial piece move (such as the king, in the case of castling).
Diffstat (limited to 'chess-maint.el')
-rw-r--r--chess-maint.el28
1 files changed, 27 insertions, 1 deletions
diff --git a/chess-maint.el b/chess-maint.el
index dc7a8c8..cf0f629 100644
--- a/chess-maint.el
+++ b/chess-maint.el
@@ -1,2 +1,28 @@
-(require 'cl)
(add-to-list 'load-path ".")
+
+(require 'cl)
+
+(defun chess-generate-texinfo-file ()
+ (require 'lispdoc)
+ (require 'texinfo)
+ (require 'pp)
+ (with-temp-buffer
+ (insert-file-contents-literally "chess.texi")
+ (texinfo-mode)
+ (require 'chess-algebraic)
+ (require 'chess-display)
+ (require 'chess-engine)
+ (require 'chess-fen)
+ (require 'chess-game)
+ (require 'chess-pgn)
+ (require 'chess-ply)
+ (require 'chess-pos)
+ (require 'chess-var)
+ (require 'chess)
+ (texinfo-insert-node-lines (point-min) (point-max) t)
+ (texinfo-every-node-update)
+ (texinfo-all-menus-update t)
+ (texinfo-every-node-update)
+ (texinfo-all-menus-update t)
+ (update-lispdoc-tags)
+ (write-file "chess-final.texi")))