diff options
| author | Stefan Kangas | 2021-10-05 15:36:31 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2021-10-05 15:38:38 +0200 |
| commit | d652efcd087099c71cd76c4bbf2bbf04314844b4 (patch) | |
| tree | 828ea43e01d213d00ec2832d7c877d246f9328e6 /doc/misc | |
| parent | 4bf532ee82473740cfd43c66ecbfe6cfddf99df9 (diff) | |
| download | emacs-d652efcd087099c71cd76c4bbf2bbf04314844b4.tar.gz emacs-d652efcd087099c71cd76c4bbf2bbf04314844b4.zip | |
Make 'mapconcat' argument 'separator' optional
* src/fns.c (Fmapconcat): Make third 'separator' argument
optional. (Bug#50965)
* doc/lispref/functions.texi (Mapping Functions): Update
documentation for above change.
* test/src/fns-tests.el (fns-tests-mapconcat): New test.
* doc/misc/cl.texi (Obsolete Setf Customization): Don't use third
mapconcat argument in example.
* lisp/emacs-lisp/subr-x.el (string-join): Doc fix.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/cl.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi index 1e5d40b0377..04e2c71a2b9 100644 --- a/doc/misc/cl.texi +++ b/doc/misc/cl.texi | |||
| @@ -5030,7 +5030,7 @@ The above @code{incf} example could be written using | |||
| 5030 | @ignore | 5030 | @ignore |
| 5031 | (defmacro concatf (place &rest args) | 5031 | (defmacro concatf (place &rest args) |
| 5032 | (gv-letplace (getter setter) place | 5032 | (gv-letplace (getter setter) place |
| 5033 | (macroexp-let2 nil v (mapconcat 'identity args "") | 5033 | (macroexp-let2 nil v (mapconcat 'identity args) |
| 5034 | (funcall setter `(concat ,getter ,v))))) | 5034 | (funcall setter `(concat ,getter ,v))))) |
| 5035 | @end ignore | 5035 | @end ignore |
| 5036 | @end defmac | 5036 | @end defmac |