]> git.eshelyaron.com Git - emacs.git/commit
Use lexical-binding in elide-head.el and add tests
authorSimen Heggestøyl <simenheg@gmail.com>
Sun, 19 Apr 2020 06:03:21 +0000 (08:03 +0200)
committerSimen Heggestøyl <simenheg@gmail.com>
Sun, 19 Apr 2020 06:04:57 +0000 (08:04 +0200)
commit65990f47ccd6f1a3558910d71701a6f029c35433
treeda55772e9768812569f3dd21984baf52ff835116
parent8f0f8516501e64348994334cdab8b211f1cfd731
Use lexical-binding in elide-head.el and add tests

* lisp/elide-head.el: Use lexical-binding.
(elide-head-headers-to-hide): Remove redundant :group arg.
(elide-head-overlay): Use `defvar-local'.
(elide-head-show): Fix docstring.

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