]> git.eshelyaron.com Git - emacs.git/commit
Use lexical-binding in page.el and add tests
authorSimen Heggestøyl <simenheg@gmail.com>
Sat, 1 Jun 2019 13:30:49 +0000 (15:30 +0200)
committerSimen Heggestøyl <simenheg@gmail.com>
Sat, 1 Jun 2019 13:33:37 +0000 (15:33 +0200)
commitf2a7acdde7207f92de53352f17dd7f506e15a851
tree28518a15023db14c9b29f9d0871f57bab60c8d30
parentb6c628a16b52ce964f6526f9770d2f7d52ce8747
Use lexical-binding in page.el and add tests

* lisp/textmodes/page.el: Use lexical-binding.
(forward-page): Replace `(if x nil y)' with `(unless x y)'.

* test/lisp/textmodes/page-tests.el: New file with tests for page.el.
lisp/textmodes/page.el
test/lisp/textmodes/page-tests.el [new file with mode: 0644]