summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-06-09 16:52:08 +0300
committerEli Zaretskii <eliz@gnu.org>2016-06-09 16:52:08 +0300
commit1c09423880e1c48d6ba02a196430e829d1d87d57 (patch)
tree83147c9a43b4eede274fea481093e55e66fcb7d3 /doc
parentfabb558250fca14a2684357a95225241253cdfda (diff)
Fix copying text properties by 'format'
* src/editfns.c (styled_format): Fix copying text properties from the format specification to the produced string representation. (Bug#23730) (Fformat) Doc fix. * doc/lispref/strings.texi (Formatting Strings): Document that text properties from the format specifiers are also copied to the produced string.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/strings.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi
index cf0505f446..fc356af51b 100644
--- a/doc/lispref/strings.texi
+++ b/doc/lispref/strings.texi
@@ -833,7 +833,8 @@ arguments @var{objects} are the computed values to be formatted.
The characters in @var{string}, other than the format specifications,
are copied directly into the output, including their text properties,
-if any.
+if any. Any text properties of the format specifications are copied
+to the produced string representations of the argument @var{objects}.
@end defun
@defun format-message string &rest objects