emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 80a7f8b: Clarify documentation of precision in fo


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-25 80a7f8b: Clarify documentation of precision in format specs
Date: Fri, 26 Aug 2016 19:13:51 +0000 (UTC)

branch: emacs-25
commit 80a7f8be7bca1ca488887eedd7f0022d088e124a
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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)
---
 doc/lispref/strings.texi |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi
index febe321..5fee373 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
address@hidden  Precision has no effect for other specification
-characters.
address@hidden  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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]