diff options
author | Simen Heggestøyl <simenheg@gmail.com> | 2020-04-18 18:36:49 +0200 |
---|---|---|
committer | Simen Heggestøyl <simenheg@gmail.com> | 2020-04-18 18:43:23 +0200 |
commit | 45d42f81621743a96f209102464432ef2f230b0f (patch) | |
tree | d2671b98e9455f85ff03449585260e50ac5bd813 /lisp/emacs-lisp/checkdoc.el | |
parent | 4819bea6900348f923e0de58995ec41760993b6c (diff) | |
download | emacs-45d42f81621743a96f209102464432ef2f230b0f.tar.gz |
Use lexical-binding in apropos.el and add tests
* lisp/apropos.el: Use lexical-binding and remove redundant
:group args.
(apropos-words-to-regexp, apropos): Tweak docstrings.
(apropos-value-internal): Replace '(if x (progn y))' with
'(when x y)'.
(apropos-format-plist): Add docstring and replace '(if x (progn y))'
with '(when x y)'.
* test/lisp/apropos-tests.el: New file with tests for apropos.el.
Diffstat (limited to 'lisp/emacs-lisp/checkdoc.el')
0 files changed, 0 insertions, 0 deletions