summaryrefslogtreecommitdiff
path: root/doc/misc
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2021-10-05 15:36:31 +0200
committerStefan Kangas <stefan@marxist.se>2021-10-05 15:38:38 +0200
commitd652efcd087099c71cd76c4bbf2bbf04314844b4 (patch)
tree828ea43e01d213d00ec2832d7c877d246f9328e6 /doc/misc
parent4bf532ee82473740cfd43c66ecbfe6cfddf99df9 (diff)
downloademacs-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.texi2
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