]> git.eshelyaron.com Git - emacs.git/commit
Use lexical-binding in browse-url.el and add tests
authorSimen Heggestøyl <simenheg@gmail.com>
Tue, 16 Jun 2020 19:32:58 +0000 (21:32 +0200)
committerSimen Heggestøyl <simenheg@gmail.com>
Fri, 7 Aug 2020 15:37:06 +0000 (17:37 +0200)
commit7196abecb5f5c3cc1282280d2d337b6a86761656
treec0de3c8f00dacc03289467f7ecd90cc41ca4efc4
parent3e39aa6cfa6822b535d597b3e59abfea38610a48
Use lexical-binding in browse-url.el and add tests

* lisp/net/browse-url.el: Turn on lexical-binding.
(browse-url--mailto, browse-url--man, browse-url--browser): Use
imperative form in docstrings.
(browse-url-delete-temp-file): Turn comment into a proper docstring.

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