]> git.eshelyaron.com Git - emacs.git/commitdiff
; Grammar fixes
authorRobert Pluim <rpluim@gmail.com>
Fri, 16 Apr 2021 07:56:41 +0000 (09:56 +0200)
committerRobert Pluim <rpluim@gmail.com>
Fri, 16 Apr 2021 07:56:41 +0000 (09:56 +0200)
* doc/lispref/display.texi (Size of Displayed Text): Grammar fix.

* etc/NEWS: Grammar fix.

doc/lispref/display.texi
etc/NEWS

index dfba163d4e771a01927aa8cafa81423220149390..228c940cc8b00ba781535163c1b0cf5ff33f1c70 100644 (file)
@@ -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
index e39aa7b4378379fb802ceabb6db31cb325d69826..b641e8d95f759494723966e4943f465474b522c4 100644 (file)
--- 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.
 
 +++