mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
; Grammar fixes
* doc/lispref/display.texi (Size of Displayed Text): Grammar fix. * etc/NEWS: Grammar fix.
This commit is contained in:
parent
2448fb2f25
commit
fcd1943bfe
@ -1975,8 +1975,8 @@ Optional arguments @var{from} and @var{to} specify the substring of
|
||||
The return value is an approximation: it only considers the values
|
||||
returned by @code{char-width} for the constituent characters, always
|
||||
takes a tab character as taking @code{tab-width} columns, ignores
|
||||
display properties and fonts, etc. For these reasons, we recommend to
|
||||
use @code{window-text-pixel-size}, described below, instead.
|
||||
display properties and fonts, etc. For these reasons, we recommend
|
||||
using @code{window-text-pixel-size}, described below, instead.
|
||||
@end defun
|
||||
|
||||
@defun truncate-string-to-width string width &optional start-column padding ellipsis ellipsis-text-property
|
||||
|
2
etc/NEWS
2
etc/NEWS
@ -2673,7 +2673,7 @@ the selected frame can display it, and using "..." otherwise.
|
||||
|
||||
+++
|
||||
** 'string-width' now accepts two optional arguments FROM and TO.
|
||||
This allows to calculate the width of a substring without consing a
|
||||
This allows calculating the width of a substring without consing a
|
||||
new string.
|
||||
|
||||
+++
|
||||
|
Loading…
Reference in New Issue
Block a user