[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master fcd1943 3/3: ; Grammar fixes
From: |
Robert Pluim |
Subject: |
master fcd1943 3/3: ; Grammar fixes |
Date: |
Fri, 16 Apr 2021 04:23:40 -0400 (EDT) |
branch: master
commit fcd1943bfe9e384e91e2fb87c72b827ac28f05ef
Author: Robert Pluim <rpluim@gmail.com>
Commit: Robert Pluim <rpluim@gmail.com>
; Grammar fixes
* doc/lispref/display.texi (Size of Displayed Text): Grammar fix.
* etc/NEWS: Grammar fix.
---
doc/lispref/display.texi | 4 ++--
etc/NEWS | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/doc/lispref/display.texi b/doc/lispref/display.texi
index dfba163..228c940 100644
--- a/doc/lispref/display.texi
+++ b/doc/lispref/display.texi
@@ -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
diff --git a/etc/NEWS b/etc/NEWS
index e39aa7b..b641e8d 100644
--- a/etc/NEWS
+++ b/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.
+++