summaryrefslogtreecommitdiff
path: root/chess-plain.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-plain.el')
-rw-r--r--chess-plain.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-plain.el b/chess-plain.el
index 693e5eb..3008ad5 100644
--- a/chess-plain.el
+++ b/chess-plain.el
@@ -70,7 +70,7 @@ modify `chess-plain-piece-chars' to avoid real confusion.)"
(defun chess-plain-handler (event &rest args)
(cond
- ((eq event 'initialize) t)
+ ((eq event 'initialize) (current-buffer))
((eq event 'popup)
(if chess-display-popup
(funcall chess-plain-popup-function)))