; 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 f6e4e77d23
)
This commit is contained in:
parent
4a687bcc20
commit
cb1f7db249
2 changed files with 2 additions and 2 deletions
|
@ -706,7 +706,7 @@ produced by typing those commands.
|
||||||
for the detailed raw data. Reporting the facts is straightforward,
|
for the detailed raw data. Reporting the facts is straightforward,
|
||||||
but many people strain to posit explanations and report them instead
|
but many people strain to posit explanations and report them instead
|
||||||
of the facts. If the explanations are based on guesses about how
|
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
|
facts, we will have no real information about the bug. If you want to
|
||||||
actually @emph{debug} the problem, and report explanations that are
|
actually @emph{debug} the problem, and report explanations that are
|
||||||
more than guesses, that is useful---but please include the raw facts
|
more than guesses, that is useful---but please include the raw facts
|
||||||
|
|
|
@ -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.
|
ignored as well, as are display properties and invisible text.
|
||||||
For these reasons, the results are not generally reliable;
|
For these reasons, the results are not generally reliable;
|
||||||
for accurate dimensions of text as it will be displayed,
|
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) */)
|
usage: (string-width STRING &optional FROM TO) */)
|
||||||
(Lisp_Object str, Lisp_Object from, Lisp_Object to)
|
(Lisp_Object str, Lisp_Object from, Lisp_Object to)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue