]> git.eshelyaron.com Git - emacs.git/commit
Use lexical-binding in life.el and add tests
authorStefan Kangas <stefankangas@gmail.com>
Sun, 30 Aug 2020 17:33:10 +0000 (19:33 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Sun, 30 Aug 2020 19:09:07 +0000 (21:09 +0200)
commit6593d73928da6c9fb1ccc57930566ddd2a37c737
tree8eee586ea82b43fabaa1ded2b3a8aa7923cadc74
parentbe2ef629eea4bd4a7b16f6db91aab155db3489c7
Use lexical-binding in life.el and add tests

* lisp/play/life.el: Use lexical-binding.
(life--tick): Extract from...
(life): ...here.
(life--max-width, life--max-height): New variables.
(life-mode, life-setup): Use above variables.

* test/lisp/play/life-tests.el: New file.
lisp/play/life.el
test/lisp/play/life-tests.el [new file with mode: 0644]