summaryrefslogtreecommitdiff
path: root/chess-log.el
blob: 383da10a29008976a4b5afbdc96dc4e7151a3ba7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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