From: Eli Zaretskii Date: Fri, 26 Aug 2016 19:13:34 +0000 (+0300) Subject: Clarify documentation of precision in format specs X-Git-Tag: emacs-25.1~14 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=80a7f8b;p=emacs.git Clarify documentation of precision in format specs * doc/lispref/strings.texi (Formatting Strings): Be less definitive wrt what precision means in format specs other than floating-point, %s and %S. (Bug#24314) --- diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index febe3212ba9..5fee37361fd 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi @@ -1052,8 +1052,9 @@ precision specifies how many decimal places to show; if zero, the decimal-point itself is also omitted. For @samp{%s} and @samp{%S}, the precision truncates the string to the given width, so @samp{%.3s} shows only the first three characters of the representation for -@var{object}. Precision has no effect for other specification -characters. +@var{object}. For other specification characters, the effect of +precision is what the local library functions of the @code{printf} +family produce. @node Case Conversion @section Case Conversion in Lisp