* lisp/emacs-lisp/shortdoc.el (list): Fix `ensure-proper-list' examples.

This commit is contained in:
Michael Albinus
2026-03-16 09:17:18 +01:00
parent 1aed658f3b
commit 1bae55cdbf

View File

@@ -734,9 +734,9 @@ A FUNC form can have any number of `:no-eval' (or `:no-value'),
:eval (ensure-list '(1 2 3))
:eval (ensure-list '(1 . 2)))
(ensure-proper-list
:eval (ensure-list "foo")
:eval (ensure-list '(1 2 3))
:eval (ensure-list '(1 . 2)))
:eval (ensure-proper-list "foo")
:eval (ensure-proper-list '(1 2 3))
:eval (ensure-proper-list '(1 . 2)))
"Operations on Lists"
(append
:eval (append '("foo" "bar") '("zot")))