summaryrefslogtreecommitdiff
path: root/chess.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-14 23:07:06 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-14 23:07:06 +0000
commitdb5b94f367aebaeb019b46b2e2feb9f366d5d964 (patch)
tree51fcd68cc026f631a7a50efa8795be46d340469d /chess.el
parent4aa1c73a2e77af7bcf1bd24837c9f07488068cdd (diff)
*** no comment ***
Diffstat (limited to 'chess.el')
-rw-r--r--chess.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/chess.el b/chess.el
index 0d765f8..a026af9 100644
--- a/chess.el
+++ b/chess.el
@@ -171,6 +171,8 @@ available."
(push display objects)))
(setq first nil))
+ (setq objects (nreverse objects))
+
(let ((module (or engine chess-default-engine)))
(if (symbolp module)
(push (chess--create-engine module game
@@ -194,6 +196,10 @@ available."
(defalias 'chess-session 'chess)
+(defun chess-create-display ()
+ "Just make a display to use, letting chess.el decide the style."
+ (cadr (chess-session 'chess-none)))
+
;;;###autoload
(defun chess-read-pgn (&optional file)
"Read and display a PGN game after point."