summaryrefslogtreecommitdiff
path: root/chess-chat.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-chat.el')
-rw-r--r--chess-chat.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/chess-chat.el b/chess-chat.el
index 7dec279..1bd2a14 100644
--- a/chess-chat.el
+++ b/chess-chat.el
@@ -1,4 +1,4 @@
-;;; chess-chat.el --- Very much like kibitzing, but not saved.
+;;; chess-chat.el --- Very much like kibitzing, but not saved -*- lexical-binding: t; -*-
;; Copyright (C) 2002, 2014 Free Software Foundation, Inc.
@@ -27,9 +27,7 @@
(require 'chess-module)
-(defvar chess-chat-input-last nil)
-
-(make-variable-buffer-local 'chess-chat-input-last)
+(defvar-local chess-chat-input-last nil)
(define-derived-mode chess-chat-mode text-mode "Chat"
"A mode for editing chess annotations."