From 090f4f157eea6f0d0d13963520f5e05706de142f Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 25 Oct 2017 09:36:27 -0400 Subject: [PATCH] * lisp/play/gamegrid.el: Use lexical-binding to silence warnings (gamegrid-init-buffer): Silence another warning. --- lisp/play/gamegrid.el | 4 ++-- 1 file 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 @@ -;;; gamegrid.el --- library for implementing grid-based games on Emacs +;;; gamegrid.el --- library for implementing grid-based games on Emacs -*- lexical-binding:t -*- ;; Copyright (C) 1997-1998, 2001-2017 Free Software Foundation, Inc. @@ -484,7 +484,7 @@ format." (buffer-read-only nil)) (erase-buffer) (setq gamegrid-buffer-start (point)) - (dotimes (i height) + (dotimes (_ height) (insert line)) ;; Adjust the height of the default face to the height of the ;; images. Unlike XEmacs, Emacs doesn't allow making the default -- 2.39.2