Use lexical binding in benchmark.el
commit244de7b0ed3bb23e700c9edef51e413602d8720a
authorTino Calancha <tino.calancha@gmail.com>
Fri, 3 Mar 2017 09:26:30 +0000 (3 18:26 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Fri, 3 Mar 2017 09:26:30 +0000 (3 18:26 +0900)
treec61679d80ae01af96635f4572191f00c7ace58f5
parentf5388ba8a7f3970afd0e2bcc52c834ae56178442
Use lexical binding in benchmark.el

* lisp/emacs-lisp/benchmark.el: Enable lexical binding.
(benchmark-elapse): Use 'declare'.
* test/lisp/emacs-lisp/benchmark-tests.el: Add test suite.
lisp/emacs-lisp/benchmark.el
test/lisp/emacs-lisp/benchmark-tests.el [new file with mode: 0644]