]> git.eshelyaron.com Git - emacs.git/commit
Use lexical-binding in makesum.el and add tests
authorSimen Heggestøyl <simenheg@gmail.com>
Wed, 29 May 2019 18:29:28 +0000 (20:29 +0200)
committerSimen Heggestøyl <simenheg@gmail.com>
Wed, 29 May 2019 18:47:16 +0000 (20:47 +0200)
commit49cdbb4a35f8d1d2139e8469bffcf33f65679094
tree0d2cfb4978f07906a171f801620ec84fae7cf3aa
parent7f3b0d1c0003f3b883a6df3d2fae7f847f6d3070
Use lexical-binding in makesum.el and add tests

* lisp/makesum.el: Use lexical-binding.
(make-command-summary): Replace `if..progn' with `when'.
(double-column): Add docstring and apply trivial simplifications.

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