[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 735f3700f65: ; * src/character.c (Fstring_width): Fix last chan
From: |
Eli Zaretskii |
Subject: |
emacs-29 735f3700f65: ; * src/character.c (Fstring_width): Fix last change. |
Date: |
Sun, 30 Jul 2023 15:09:37 -0400 (EDT) |
branch: emacs-29
commit 735f3700f6510608415fd647dc28c0332c11d011
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; * src/character.c (Fstring_width): Fix last change.
---
src/character.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/character.c b/src/character.c
index 5b8e99ab64d..4881b221a39 100644
--- a/src/character.c
+++ b/src/character.c
@@ -470,11 +470,12 @@ consider, and are interpreted as in `substring'.
Width of each character in STRING is generally taken according to
`char-width', but character compositions and the display table in
effect are taken into consideration.
-Tabs in are always taken to occupy `tab-width' columns, although they
-might take fewer columns depending on the column where they begin.
+Tabs in STRING are always assumed to occupy `tab-width' columns,
+although they might take fewer columns depending on the column where
+they begin on display.
The effect of faces and fonts, including fonts used for non-Latin and
-other unusual characters, such as emoji, is ignored as well, as are
-display properties and invisible text.
+other unusual characters, such as emoji, is ignored, as are display
+properties and invisible text.
For these reasons, the results are just an approximation, especially
on GUI frames; for accurate dimensions of text as it will be
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 735f3700f65: ; * src/character.c (Fstring_width): Fix last change.,
Eli Zaretskii <=