diff options
| author | Eli Zaretskii | 2024-09-23 14:41:34 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2024-09-23 14:41:34 +0300 |
| commit | c8ed48b9901790fdabcf91ef15a6ba47c96b48c8 (patch) | |
| tree | 846c960b3dd5d648768ca5efe4641314ff835318 /src | |
| parent | c1f2501f55d7454222389244512f732ac5e778b4 (diff) | |
| download | emacs-c8ed48b9901790fdabcf91ef15a6ba47c96b48c8.tar.gz emacs-c8ed48b9901790fdabcf91ef15a6ba47c96b48c8.zip | |
; Improve documentation of 'append'
* doc/lispref/lists.texi (Building Lists):
* src/fns.c (Fappend): Improve documentation of 'append'. (Bug#73427)
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -719,7 +719,12 @@ The result is a list whose elements are the elements of all the arguments. | |||
| 719 | Each argument may be a list, vector or string. | 719 | Each argument may be a list, vector or string. |
| 720 | 720 | ||
| 721 | All arguments except the last argument are copied. The last argument | 721 | All arguments except the last argument are copied. The last argument |
| 722 | is just used as the tail of the new list. | 722 | is just used as the tail of the new list. If the last argument is not |
| 723 | a list, this results in a dotted list. | ||
| 724 | |||
| 725 | As an exception, if all the arguments except the last are nil, and the | ||
| 726 | last argument is not a list, the return value is that last argument | ||
| 727 | unaltered. | ||
| 723 | 728 | ||
| 724 | usage: (append &rest SEQUENCES) */) | 729 | usage: (append &rest SEQUENCES) */) |
| 725 | (ptrdiff_t nargs, Lisp_Object *args) | 730 | (ptrdiff_t nargs, Lisp_Object *args) |