summaryrefslogtreecommitdiff
path: root/chess-display.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-29 06:30:22 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-29 06:30:22 -0400
commitce58cd79f510f5d9c8d84fd1fc63c8ff14984a9b (patch)
tree3a5ffe7309daf8aec76c3a8d34972cdc517cd34d /chess-display.el
parentb7e550cf6a0de3ede3cb92ebf32941e864cd5239 (diff)
Make `chess-display-side-to-move' a risky-local-variable. This fixes the
problem of the background not being set in the modeline.
Diffstat (limited to 'chess-display.el')
-rw-r--r--chess-display.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/chess-display.el b/chess-display.el
index 9b421e9..553de49 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -81,6 +81,7 @@ See `mode-line-format' for syntax details."
(make-variable-buffer-local 'chess-display-index)
(make-variable-buffer-local 'chess-display-move-text)
(make-variable-buffer-local 'chess-display-side-to-move)
+(put 'chess-display-side-to-move 'risky-local-variable t)
(make-variable-buffer-local 'chess-display-perspective)
(make-variable-buffer-local 'chess-display-event-handler)
(make-variable-buffer-local 'chess-display-edit-mode)