From 3187bd1eadb312b6f6d6e1bb9218f19346300e7d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 29 Aug 2008 02:43:55 -0400 Subject: Several changes to fix byte-compile warnings, changed some iso-8859-1 encoded files to UTF-8, and switched to using insert-file-contents instead of the -literally variant (which doesn't respect content encodings). --- chess-display.el | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chess-display.el') diff --git a/chess-display.el b/chess-display.el index c5c8b33..d2d273d 100644 --- a/chess-display.el +++ b/chess-display.el @@ -7,6 +7,7 @@ (require 'chess-module) (require 'chess-var) (require 'chess-input) +(require 'chess-random) (defgroup chess-display nil "Common code used by chess displays." @@ -1085,6 +1086,9 @@ to the end or beginning." (funcall chess-display-event-handler 'draw-square (point) (or piece last-command-char) index)))) +(unless (fboundp 'event-window) + (defalias 'event-point 'ignore)) + (defun chess-display-mouse-set-piece (event) "Select the piece the user clicked on." (interactive "e") -- cgit v1.2.3