From 9fd01bce225a55411c4926430778e6bb213e206d Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 26 Jan 2011 20:13:16 +0100 Subject: [PATCH] fix format ~f documentation for width combined with overflowchar * doc/ref/misc-modules.texi (Formatted Output): Adapt ~f documentation to indicate that the output will always have a decimal point. Thanks to Fu-gangqiang for the report. * THANKS: Update. --- THANKS | 1 + doc/ref/misc-modules.texi | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/THANKS b/THANKS index bae2b1ef1..96b9eadac 100644 --- a/THANKS +++ b/THANKS @@ -44,6 +44,7 @@ For fixes or providing information which led to a fix: David Fang Barry Fishman Charles Gagnon + Fu-gangqiang Peter Gavin Nils Gey Eric Gillespie, Jr diff --git a/doc/ref/misc-modules.texi b/doc/ref/misc-modules.texi index e17f9854b..7071dade5 100644 --- a/doc/ref/misc-modules.texi +++ b/doc/ref/misc-modules.texi @@ -1,6 +1,6 @@ @c -*-texinfo-*- @c This is part of the GNU Guile Reference Manual. -@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2006, 2009, 2010 +@c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2006, 2009, 2010, 2011 @c Free Software Foundation, Inc. @c See the file guile.texi for copying conditions. @@ -400,8 +400,8 @@ would exceed @var{width}, then that many @var{overflowchar}s are printed instead of the value. @example -(format #t "~5,,,'xf" 12345) @print{} 12345 -(format #t "~4,,,'xf" 12345) @print{} xxxx +(format #t "~6,,,'xf" 12345) @print{} 12345. +(format #t "~5,,,'xf" 12345) @print{} xxxxx @end example @item @nicode{~e}