diff options
| author | John Wiegley <johnw@newartisans.com> | 2002-04-09 01:28:37 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2002-04-09 01:28:37 +0000 |
| commit | 18f22844af74b15732d7fc7dfad318a1ba0c0d99 (patch) | |
| tree | 0fcdaab856c1e82080f0c87f5895a212081f9633 | |
| parent | 2f9a87ac4d488c53409e473246b7e42ea11b6f18 (diff) | |
*** no comment ***
| -rw-r--r-- | chess-engine.el | 6 | ||||
| -rw-r--r-- | chess-irc.el | 8 | ||||
| -rw-r--r-- | chess.el | 4 |
3 files changed, 11 insertions, 7 deletions
diff --git a/chess-engine.el b/chess-engine.el index ad163c0..807f99d 100644 --- a/chess-engine.el +++ b/chess-engine.el @@ -222,8 +222,10 @@ ;; this could be accelerated by joining ;; together the regexps (if (looking-at (caar triggers)) - (funcall (cdar triggers))) - (setq triggers (cdr triggers)))) + (progn + (funcall (cdar triggers)) + (setq triggers nil)) + (setq triggers (cdr triggers))))) (chess-illegal (error-message-string err))) (forward-line))) (setq chess-engine-last-pos (point) diff --git a/chess-irc.el b/chess-irc.el index 0b3b98c..4224c7a 100644 --- a/chess-irc.el +++ b/chess-irc.el @@ -11,17 +11,17 @@ :group 'chess-engine) (defcustom chess-irc-host "irc.openprojects.net" - "" + "The IRC host to connect your chess-irc engine to." :type 'string :group 'chess-irc) (defcustom chess-irc-port 6667 - "" + "The port of the IRC host specified by `chess-irc-host'." :type 'string :group 'chess-irc) -(defcustom chess-irc-nick "jwchess" - "" +(defcustom chess-irc-nick (user-login-name) + "The nick you wish to use for sending/receiving IRC chess moves." :type 'string :group 'chess-irc) @@ -99,7 +99,9 @@ a0 243 :type 'sexp :group 'chess) (defcustom chess-announce-moves (and (executable-find "festival") t) - "If non-nil, announce your opponent's moves verbally." + "If non-nil, announce your opponent's moves verbally. +This requires the utility 'festival' to be installed. If it is +installed, this variable will default to true." minibuffer, which works well for Emacspeak users." :type 'boolean :group 'chess) |
