summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/shortdoc-tests.el
Commit message (Collapse)AuthorAgeFilesLines
* ; Minor stylistic checkdoc fixes in test/**/*.elStefan Kangas2021-09-261-0/+4
|
* Fix shortdoc-add-function section creationBasil L. Contovounesios2021-06-211-1/+1
| | | | | | | | | | | | | | | * lisp/emacs-lisp/shortdoc.el (shortdoc-add-function): Use nconc to actually append a new section to the list of groups while avoiding a previous OBOE. Push a new group to the front of shortdoc--groups without copying it, just like define-short-documentation-group does. (buffer): Fix copypasta in unlock-buffer example. * test/lisp/emacs-lisp/shortdoc-tests.el (shortdoc-examples): Also check that :no-value forms demonstrate the right function. * doc/lispref/help.texi (Documentation Groups): Clarify that @dots in the define-short-documentation-group arglist refer to whole key-value pairs. Fix typo in :eg-result-string description.
* Fix shortdoc examplesMattias EngdegÄrd2021-05-291-0/+45
Make sure that each example in shortdoc actually contains the function it illustrates, and add a test for it. * lisp/emacs-lisp/shortdoc.el (string, list, buffer, number): Use the right functions in examples for string-version-lessp, lax-plist-put, point-min and ffloor. * test/lisp/emacs-lisp/shortdoc-tests.el: New test file.