Mercurial > emacs
changeset 26691:1f573e26070a
(truncate-string-to-width): Docsting fixed.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 03 Dec 1999 10:27:19 +0000 |
parents | 1006a8324029 |
children | 69c856729b20 |
files | lisp/international/mule-util.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/international/mule-util.el Thu Dec 02 16:27:21 1999 +0000 +++ b/lisp/international/mule-util.el Fri Dec 03 10:27:19 1999 +0000 @@ -75,11 +75,11 @@ ;;;###autoload (defun truncate-string-to-width (str end-column &optional start-column padding) "Truncate string STR to end at column END-COLUMN. -The optional 2nd arg START-COLUMN, if non-nil, specifies +The optional 3rd arg START-COLUMN, if non-nil, specifies the starting column; that means to return the characters occupying columns START-COLUMN ... END-COLUMN of STR. -The optional 3rd arg PADDING, if non-nil, specifies a padding character +The optional 4th arg PADDING, if non-nil, specifies a padding character to add at the end of the result if STR doesn't reach column END-COLUMN, or if END-COLUMN comes in the middle of a character in STR. PADDING is also added at the beginning of the result