From: Stefan Monnier Date: Wed, 25 Oct 2017 13:36:27 +0000 (-0400) Subject: * lisp/play/gamegrid.el: Use lexical-binding to silence warnings X-Git-Tag: emacs-27.0.90~6217 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=090f4f157eea6f0d0d13963520f5e05706de142f;p=emacs.git * lisp/play/gamegrid.el: Use lexical-binding to silence warnings (gamegrid-init-buffer): Silence another warning. --- 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