]> git.eshelyaron.com Git - emacs.git/commit
Use lexical-binding in delim-col.el and add tests
authorStefan Kangas <stefankangas@gmail.com>
Sun, 5 May 2019 13:48:57 +0000 (15:48 +0200)
committerBasil L. Contovounesios <contovob@tcd.ie>
Mon, 20 May 2019 14:29:26 +0000 (15:29 +0100)
commit4498e5a13a3b63a3024ceef102ae3b5c50f58be1
tree7f4d1809c602b93ac73eacf7ea25d65a87c3a85b
parent9813905f834aa43eb194023f579c7e7951d96d0f
Use lexical-binding in delim-col.el and add tests

Thanks to Basil L. Contovounesios for additional cleanups.
For discussion, see the following thread:
https://lists.gnu.org/archive/html/emacs-devel/2019-05/msg00177.html

* lisp/delim-col.el: Use lexical-binding.

* test/lisp/delim-col-tests.el: New file.
(delim-col-tests-delimit-colummns-before-after)
(delim-col-tests-delimit-columns)
(delim-col-tests-delimit-columns-format/nil)
(delim-col-tests-delimit-columns-format/padding)
(delim-col-tests-delimit-columns-format/separator)
(delim-col-tests-delimit-columns-separator)
(delim-col-tests-delimit-columns-str-before-after)
(delim-col-tests-delimit-columns-str-separator)
(delim-col-tests-delimit-rectangle): New unit tests.
lisp/delim-col.el
test/lisp/delim-col-tests.el [new file with mode: 0644]