]> git.eshelyaron.com Git - emacs.git/commit
Make help-split-fundoc more flexible about what returns
authorJuanma Barranquero <lekktu@gmail.com>
Sat, 23 Nov 2019 22:29:53 +0000 (23:29 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Sat, 23 Nov 2019 22:29:53 +0000 (23:29 +0100)
commit6f3ff47c521a41f3eab3efd1f6126f06f4171478
tree3dc30a4fa7a2d75cfaf0702c3a6dc6520ead0726
parent4b5d04be44af36cb2faccd368de063cf376282ca
Make help-split-fundoc more flexible about what returns

* lisp/help.el (help-split-fundoc): New arg SECTION to return
only the usage or doc parts of the docstring, or both even if
there is no usage.

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