diff options
| author | Eli Zaretskii | 2023-07-25 16:49:18 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2023-07-25 16:49:18 +0300 |
| commit | f6e4e77d23d0be79be83ef41c3ea9acd5c983af2 (patch) | |
| tree | 9ff50a25e0e81e42146edcf829071f8667c34131 | |
| parent | 89558533683a100ca7946c4a35bf4ef50463efef (diff) | |
| download | emacs-f6e4e77d23d0be79be83ef41c3ea9acd5c983af2.tar.gz emacs-f6e4e77d23d0be79be83ef41c3ea9acd5c983af2.zip | |
; Minor documentation fixes
* src/character.c (Fstring_width): Doc fix.
* doc/emacs/trouble.texi (Understanding Bug Reporting): Fix typo
(bug#64854).
| -rw-r--r-- | doc/emacs/trouble.texi | 2 | ||||
| -rw-r--r-- | 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. | |||
| 706 | for the detailed raw data. Reporting the facts is straightforward, | 706 | for the detailed raw data. Reporting the facts is straightforward, |
| 707 | but many people strain to posit explanations and report them instead | 707 | but many people strain to posit explanations and report them instead |
| 708 | of the facts. If the explanations are based on guesses about how | 708 | of the facts. If the explanations are based on guesses about how |
| 709 | Emacs is implemented, they night not be useful; meanwhile, lacking the | 709 | Emacs is implemented, they might not be useful; meanwhile, lacking the |
| 710 | facts, we will have no real information about the bug. If you want to | 710 | facts, we will have no real information about the bug. If you want to |
| 711 | actually @emph{debug} the problem, and report explanations that are | 711 | actually @emph{debug} the problem, and report explanations that are |
| 712 | more than guesses, that is useful---but please include the raw facts | 712 | 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 | |||
| 470 | ignored as well, as are display properties and invisible text. | 470 | ignored as well, as are display properties and invisible text. |
| 471 | For these reasons, the results are not generally reliable; | 471 | For these reasons, the results are not generally reliable; |
| 472 | for accurate dimensions of text as it will be displayed, | 472 | for accurate dimensions of text as it will be displayed, |
| 473 | use `window-text-pixel-size' instead. | 473 | use `string-pixel-width' or `window-text-pixel-size' instead. |
| 474 | usage: (string-width STRING &optional FROM TO) */) | 474 | usage: (string-width STRING &optional FROM TO) */) |
| 475 | (Lisp_Object str, Lisp_Object from, Lisp_Object to) | 475 | (Lisp_Object str, Lisp_Object from, Lisp_Object to) |
| 476 | { | 476 | { |