]> git.eshelyaron.com Git - emacs.git/commit
Use lexical-binding in fortune.el and add tests
authorStefan Kangas <stefan@marxist.se>
Sat, 14 Nov 2020 14:55:08 +0000 (15:55 +0100)
committerStefan Kangas <stefan@marxist.se>
Sat, 14 Nov 2020 14:55:08 +0000 (15:55 +0100)
commit08b1028c1ecea9e560eb08154bfb3fc557f1275d
treefbdf2c5a905107cb10d4360586ed1da97463e3ac
parentca023e69e2d9ea79814a6c5f92c6e31c8f1efa70
Use lexical-binding in fortune.el and add tests

* lisp/play/fortune.el: Use lexical-binding.  Remove redundant
:group args.
(fortune-in-buffer): Quote function symbol as such.
* test/lisp/play/fortune-resources/fortunes:
* test/lisp/play/fortune-tests.el: New files.
* .gitignore: Ignore generated file fortunes.dat.
.gitignore
lisp/play/fortune.el
test/lisp/play/fortune-resources/fortunes [new file with mode: 0644]
test/lisp/play/fortune-tests.el [new file with mode: 0644]