diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-10-05 15:36:31 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-10-05 15:38:38 +0200 |
commit | d652efcd087099c71cd76c4bbf2bbf04314844b4 (patch) | |
tree | 828ea43e01d213d00ec2832d7c877d246f9328e6 /doc/misc | |
parent | 4bf532ee82473740cfd43c66ecbfe6cfddf99df9 (diff) | |
download | emacs-d652efcd087099c71cd76c4bbf2bbf04314844b4.tar.gz emacs-d652efcd087099c71cd76c4bbf2bbf04314844b4.tar.bz2 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 @ignore (defmacro concatf (place &rest args) (gv-letplace (getter setter) place - (macroexp-let2 nil v (mapconcat 'identity args "") + (macroexp-let2 nil v (mapconcat 'identity args) (funcall setter `(concat ,getter ,v))))) @end ignore @end defmac |