aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2023-07-25 16:49:18 +0300
committerEli Zaretskii2023-07-25 16:49:18 +0300
commitf6e4e77d23d0be79be83ef41c3ea9acd5c983af2 (patch)
tree9ff50a25e0e81e42146edcf829071f8667c34131 /src
parent89558533683a100ca7946c4a35bf4ef50463efef (diff)
downloademacs-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).
Diffstat (limited to 'src')
-rw-r--r--src/character.c2
1 files changed, 1 insertions, 1 deletions
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
470ignored as well, as are display properties and invisible text. 470ignored as well, as are display properties and invisible text.
471For these reasons, the results are not generally reliable; 471For these reasons, the results are not generally reliable;
472for accurate dimensions of text as it will be displayed, 472for accurate dimensions of text as it will be displayed,
473use `window-text-pixel-size' instead. 473use `string-pixel-width' or `window-text-pixel-size' instead.
474usage: (string-width STRING &optional FROM TO) */) 474usage: (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{