[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master f6e4e77d23d: ; Minor documentation fixes
|
From: |
Eli Zaretskii |
|
Subject: |
master f6e4e77d23d: ; Minor documentation fixes |
|
Date: |
Tue, 25 Jul 2023 09:49:17 -0400 (EDT) |
branch: master
commit f6e4e77d23d0be79be83ef41c3ea9acd5c983af2
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; Minor documentation fixes
* src/character.c (Fstring_width): Doc fix.
* doc/emacs/trouble.texi (Understanding Bug Reporting): Fix typo
(bug#64854).
---
doc/emacs/trouble.texi | 2 +-
src/character.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi
index bccdea72b19..d2e8ac3452a 100644
--- a/doc/emacs/trouble.texi
+++ b/doc/emacs/trouble.texi
@@ -706,7 +706,7 @@ produced by typing those commands.
for the detailed raw data. Reporting the facts is straightforward,
but many people strain to posit explanations and report them instead
of the facts. If the explanations are based on guesses about how
-Emacs is implemented, they night not be useful; meanwhile, lacking the
+Emacs is implemented, they might not be useful; meanwhile, lacking the
facts, we will have no real information about the bug. If you want to
actually @emph{debug} the problem, and report explanations that are
more than guesses, that is useful---but please include the raw facts
diff --git a/src/character.c b/src/character.c
index ae153a579d6..9389e1c0098 100644
--- a/src/character.c
+++ b/src/character.c
@@ -470,7 +470,7 @@ used for non-Latin and other unusual characters (such as
emoji) is
ignored as well, as are display properties and invisible text.
For these reasons, the results are not generally reliable;
for accurate dimensions of text as it will be displayed,
-use `window-text-pixel-size' instead.
+use `string-pixel-width' or `window-text-pixel-size' instead.
usage: (string-width STRING &optional FROM TO) */)
(Lisp_Object str, Lisp_Object from, Lisp_Object to)
{
| [Prev in Thread] |
Current Thread |
[Next in Thread] |
- master f6e4e77d23d: ; Minor documentation fixes,
Eli Zaretskii <=