]> git.eshelyaron.com Git - emacs.git/commit
Use lexical-binding in help-mode.el and add tests
authorSimen Heggestøyl <simenheg@gmail.com>
Sat, 9 May 2020 17:58:46 +0000 (19:58 +0200)
committerSimen Heggestøyl <simenheg@gmail.com>
Sat, 9 May 2020 18:01:37 +0000 (20:01 +0200)
commit9d8fc3a598090da518fcdd5c0503ed0f7faa41a9
tree05dc66186dba5bf6e954552d60d4947bfa67d641
parent94224c4addc999ad798cc690051498bcce199555
Use lexical-binding in help-mode.el and add tests

* lisp/help-mode.el: Use lexical-binding.
(help-mode-map, help-mode-menu, help-mode-setup)
(help-mode-finish): Make spelling of "Help mode" consistent throughout
the doc strings (also making it consistent with the spelling of "Help
mode" used in the Elisp manual).
(help-do-xref): Re-indent to make the else-branch easier to see.

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