diff options
author | Basil L. Contovounesios <contovob@tcd.ie> | 2021-06-21 16:00:39 +0100 |
---|---|---|
committer | Basil L. Contovounesios <contovob@tcd.ie> | 2021-06-21 16:20:22 +0100 |
commit | 3b1d69efc32c8929281f38d55cef773e4680f2ad (patch) | |
tree | 12dc2807a8a035e0436b09655758d16a22d6c553 /test/lisp/emacs-lisp | |
parent | 09f17ac4752e18bf834d2f20ceef561cc516d917 (diff) | |
download | emacs-3b1d69efc32c8929281f38d55cef773e4680f2ad.tar.gz emacs-3b1d69efc32c8929281f38d55cef773e4680f2ad.tar.bz2 emacs-3b1d69efc32c8929281f38d55cef773e4680f2ad.zip |
Fix shortdoc-add-function section creation
* 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.
Diffstat (limited to 'test/lisp/emacs-lisp')
-rw-r--r-- | test/lisp/emacs-lisp/shortdoc-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/emacs-lisp/shortdoc-tests.el b/test/lisp/emacs-lisp/shortdoc-tests.el index 050aac31659..3bb3185649b 100644 --- a/test/lisp/emacs-lisp/shortdoc-tests.el +++ b/test/lisp/emacs-lisp/shortdoc-tests.el @@ -34,7 +34,7 @@ (let ((fun (car item)) (props (cdr item))) (while props - (when (memq (car props) '(:eval :no-eval :no-eval*)) + (when (memq (car props) '(:eval :no-eval :no-eval* :no-value)) (let* ((example (cadr props)) (expr (cond ((consp example) example) |