From ebea3415b0720e900867356c334e201e531401b5 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 28 May 2022 10:55:01 +0300 Subject: [PATCH] Fix documentation of 'string-pad' * doc/lispref/strings.texi (Creating Strings): Fix description of 'string-pad'. (Bug#55688) --- doc/lispref/strings.texi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/lispref/strings.texi b/doc/lispref/strings.texi index 2810f686eb7..3d8db985e9c 100644 --- a/doc/lispref/strings.texi +++ b/doc/lispref/strings.texi @@ -440,12 +440,12 @@ Split @var{string} into a list of strings on newline boundaries. If @end defun @defun string-pad string length &optional padding start -Pad @var{string} to the be of @var{length} using @var{padding} as the -padding character (defaulting to the space character). If -@var{string} is shorter than @var{length}, no padding is done. If -@var{start} is @code{nil} (or not present), the padding is done to the -end of the string, and if it's non-@code{nil}, to the start of the -string. +Pad @var{string} to be of the given @var{length} using @var{padding} +as the padding character. @var{padding} defaults to the space +character. If @var{string} is longer than @var{length}, no padding is +done. If @var{start} is @code{nil} or omitted, the padding is +appended to the characters of @var{string}, and if it's +non-@code{nil}, the padding is prepended to @var{string}'s characters. @end defun @defun string-chop-newline string -- 2.39.2