Commit 9ac06837 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(truncate-string-to-width): Docsting fixed.

parent be961cd5
1999-12-03 Kenichi Handa <>
* international/mule-util.el (truncate-string-to-width): Docsting
1999-12-02 Stefan Monnier <>
* emacs-lisp/lisp-mnt.el (lm-header-multiline): fix spurious
* emacs-lisp/lisp-mnt.el (lm-header-multiline): Fix spurious
use of `cond'.
(lm-with-file): Move all the find-file...kill-buffer stuff into
this macro. Make it use `find-file-noselect' and make it kill
the buffer only if it wasn't already displayed somewhere.
(lm-summary, lm-authors, lm-maintainer, lm-creation-date)
(lm-last-modified-date, lm-version, lm-keywords, lm-adapted-by)
(lm-commentary, lm-verify, lm-synopsis): use lm-with-file.
(lm-commentary, lm-verify, lm-synopsis): Use lm-with-file.
(lm-commentary): fix to handle the case when the change log is
at the end of the file.
......@@ -75,11 +75,11 @@ TYPE should be `list' or `vector'."
(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
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment