diff options
| author | John Wiegley <johnw@newartisans.com> | 2008-05-08 15:27:12 -0400 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2008-05-08 15:27:12 -0400 |
| commit | 9c7bf5a6b50a9dff314054af1673122ab6592211 (patch) | |
| tree | f2d4c2aa92060a17075d87c2fdb3ac29fe42a4f7 | |
| parent | 176128ec36af65a968b345c5c996de4911ae21a6 (diff) | |
Added chess-log.el, as an aid to debugging.
| -rw-r--r-- | chess-log.el | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/chess-log.el b/chess-log.el new file mode 100644 index 0000000..383da10 --- /dev/null +++ b/chess-log.el @@ -0,0 +1,20 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; +;; Log chess events, as an aid to debugging +;; + +;;; Commentary: + +(require 'chess-module) + +(defgroup chess-log nil + "Code for logging chess events." + :group 'chess) + +(defun chess-log (&rest args) + (with-current-buffer (get-buffer-create "*Chess Log*") + (insert (apply 'format args) ?\n))) + +(provide 'chess-log) + +;;; chess-log.el ends here |
