# HG changeset patch # User Gerd Moellmann # Date 944216839 0 # Node ID 1f573e26070a9518a0b809037c4157ccd6c89d84 # Parent 1006a8324029295317bf78f7ec13cdd6870222b0 (truncate-string-to-width): Docsting fixed. diff -r 1006a8324029 -r 1f573e26070a lisp/international/mule-util.el --- 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