Fix documentation of 'string-pad'

* doc/lispref/strings.texi (Creating Strings): Fix description of
'string-pad'.  (Bug#55688)
This commit is contained in:
Eli Zaretskii 2022-05-28 10:55:01 +03:00
parent d3cde28b03
commit ebea3415b0

View file

@ -440,12 +440,12 @@ Split @var{string} into a list of strings on newline boundaries. If
@end defun @end defun
@defun string-pad string length &optional padding start @defun string-pad string length &optional padding start
Pad @var{string} to the be of @var{length} using @var{padding} as the Pad @var{string} to be of the given @var{length} using @var{padding}
padding character (defaulting to the space character). If as the padding character. @var{padding} defaults to the space
@var{string} is shorter than @var{length}, no padding is done. If character. If @var{string} is longer than @var{length}, no padding is
@var{start} is @code{nil} (or not present), the padding is done to the done. If @var{start} is @code{nil} or omitted, the padding is
end of the string, and if it's non-@code{nil}, to the start of the appended to the characters of @var{string}, and if it's
string. non-@code{nil}, the padding is prepended to @var{string}'s characters.
@end defun @end defun
@defun string-chop-newline string @defun string-chop-newline string