[gnu.emacs.bug] format bug?

layer@UCBARPA.BERKELEY.EDU (Kevin Layer) (09/21/88)

in 18.50 (format "XX%-20sXX" "asd") returns

	"XXasdXX"

instead of (as the C library on my machine does)

	"XXasd                 XX"

doprnt() in doprnt.c is probably the culprit, but a quick glance
turned up no obvious bugs.

Also, a minor nit about the `format' (and `message') docstring: it sez
that "the argument used by %s must be a string or a symbol" when, in
fact, it can be anything (format does a Fprin1_to_string in the
non-string case).

	Kevin