diff options
| author | Eli Zaretskii | 2023-07-25 16:49:18 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2023-07-30 10:22:42 +0300 |
| commit | cb1f7db249096bf58e28fb586d7ef926536dcb09 (patch) | |
| tree | 7ae262d98360c09aee856e5c89383f3175692a05 /src | |
| parent | 4a687bcc20d4d5a3297bfaecd6bd9d400ba39195 (diff) | |
| download | emacs-cb1f7db249096bf58e28fb586d7ef926536dcb09.tar.gz emacs-cb1f7db249096bf58e28fb586d7ef926536dcb09.zip | |
; Minor documentation fixes
* src/character.c (Fstring_width): Doc fix.
* doc/emacs/trouble.texi (Understanding Bug Reporting): Fix typo
(bug#64854).
(cherry picked from commit f6e4e77d23d0be79be83ef41c3ea9acd5c983af2)
Diffstat (limited to 'src')
| -rw-r--r-- | src/character.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/character.c b/src/character.c index d0b18367a83..13d516987d3 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 | { |