[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-28 ebea3415b0: Fix documentation of 'string-pad'
From: |
Eli Zaretskii |
Subject: |
emacs-28 ebea3415b0: Fix documentation of 'string-pad' |
Date: |
Sat, 28 May 2022 03:55:33 -0400 (EDT) |
branch: emacs-28
commit ebea3415b0720e900867356c334e201e531401b5
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
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 2810f686eb..3d8db985e9 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-28 ebea3415b0: Fix documentation of 'string-pad',
Eli Zaretskii <=