1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Fix the documentation parts of a recent commit

* lisp/international/mule-util.el (truncate-string-ellipsis): Doc
fix.

* doc/lispref/display.texi (Size of Displayed Text): Improve
wording and accuracy of the documentation of
'truncate-string-to-width'.  Document the function
'truncate-string-ellipsis'.

* etc/NEWS: Improve the wording of the entry for
'truncate-string-to-width'.
This commit is contained in:
Eli Zaretskii 2020-10-05 08:37:02 +03:00
parent 14a5db2912
commit c0577d7a39
3 changed files with 44 additions and 26 deletions

View file

@ -50,7 +50,7 @@ Serves as default value of ELLIPSIS argument to `truncate-string-to-width'
returned by the function `truncate-string-ellipsis'.")
(defun truncate-string-ellipsis ()
"Return a string to use to indicate truncation.
"Return the string used to indicate truncation.
Use the value of the variable `truncate-string-ellipsis' when it's non-nil.
Otherwise, return `' when it's displayable on the selected frame,
or `...'. This function needs to be called on every use of