aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorStefan Monnier2017-10-25 09:36:27 -0400
committerStefan Monnier2017-10-25 09:36:27 -0400
commit090f4f157eea6f0d0d13963520f5e05706de142f (patch)
tree31f6ce13a72e163d02a28331d52588b62f73ca30 /lisp
parentcb73c70180f57f3fb99fae3aaefbacf0a61cea3f (diff)
downloademacs-090f4f157eea6f0d0d13963520f5e05706de142f.tar.gz
emacs-090f4f157eea6f0d0d13963520f5e05706de142f.zip
* lisp/play/gamegrid.el: Use lexical-binding to silence warnings
(gamegrid-init-buffer): Silence another warning.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/play/gamegrid.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/play/gamegrid.el b/lisp/play/gamegrid.el
index 641ef7f2462..6223a01d4fa 100644
--- a/lisp/play/gamegrid.el
+++ b/lisp/play/gamegrid.el
@@ -1,4 +1,4 @@
1;;; gamegrid.el --- library for implementing grid-based games on Emacs 1;;; gamegrid.el --- library for implementing grid-based games on Emacs -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 1997-1998, 2001-2017 Free Software Foundation, Inc. 3;; Copyright (C) 1997-1998, 2001-2017 Free Software Foundation, Inc.
4 4
@@ -484,7 +484,7 @@ format."
484 (buffer-read-only nil)) 484 (buffer-read-only nil))
485 (erase-buffer) 485 (erase-buffer)
486 (setq gamegrid-buffer-start (point)) 486 (setq gamegrid-buffer-start (point))
487 (dotimes (i height) 487 (dotimes (_ height)
488 (insert line)) 488 (insert line))
489 ;; Adjust the height of the default face to the height of the 489 ;; Adjust the height of the default face to the height of the
490 ;; images. Unlike XEmacs, Emacs doesn't allow making the default 490 ;; images. Unlike XEmacs, Emacs doesn't allow making the default