aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-07-25 12:07:43 +0000
committerGerd Moellmann2000-07-25 12:07:43 +0000
commit969065c3985cca170c2ddac2c5c99842786626aa (patch)
tree20e3a5c2d275f3b8a8cbcbec0283007382ff9be6 /src
parent7363a90346221183e6dec1837f9aac5e6448ef6b (diff)
downloademacs-969065c3985cca170c2ddac2c5c99842786626aa.tar.gz
emacs-969065c3985cca170c2ddac2c5c99842786626aa.zip
(next_element_from_display_vector): Improve comments.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog10
-rw-r--r--src/xdisp.c7
2 files changed, 12 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index fb3d4bfa789..6e5b29bf857 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,11 +1,19 @@
12000-07-25 Gerd Moellmann <gerd@gnu.org> 12000-07-25 Gerd Moellmann <gerd@gnu.org>
2 2
3 * xdisp.c (next_element_from_display_vector): Improve comments.
4
5 * lisp.h (GLYPH_MASK_CHAR, GLYPH_MASK_FACE): Use 19 bits
6 for the character code, and the rest for the face id as in 20.x.
7 (FAST_GLYPH_FACE, FAST_MAKE_GLYPH): Changed accordingly.
8
9 * window.c (window_display_table): Cleaned up.
10
3 * syntax.c (Fforward_word): Add last arg nil in call of 11 * syntax.c (Fforward_word): Add last arg nil in call of
4 Fconstrain_to_field. 12 Fconstrain_to_field.
5 13
62000-07-25 Eli Zaretskii <eliz@is.elta.co.il> 142000-07-25 Eli Zaretskii <eliz@is.elta.co.il>
7 15
8 * fileio.c (Frename-file) [DOS_NT]: If the file names are 16 * fileio.c (Frename_file) [DOS_NT]: If the file names are
9 identical but for the letter-case, don't call 17 identical but for the letter-case, don't call
10 barf_or_query_if_file_exists. 18 barf_or_query_if_file_exists.
11 19
diff --git a/src/xdisp.c b/src/xdisp.c
index fab426c561b..ba2ae579660 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -3816,15 +3816,14 @@ next_element_from_display_vector (it)
3816 3816
3817 /* The entry may contain a face id to use. Such a face id is 3817 /* The entry may contain a face id to use. Such a face id is
3818 the id of a Lisp face, not a realized face. A face id of 3818 the id of a Lisp face, not a realized face. A face id of
3819 zero means no face. */ 3819 zero means no face is specified. */
3820 lface_id = FAST_GLYPH_FACE (g); 3820 lface_id = FAST_GLYPH_FACE (g);
3821 if (lface_id) 3821 if (lface_id)
3822 { 3822 {
3823 /* The function returns -1 if lface_id is invalid. */
3823 int face_id = ascii_face_of_lisp_face (it->f, lface_id); 3824 int face_id = ascii_face_of_lisp_face (it->f, lface_id);
3824 if (face_id >= 0) 3825 if (face_id >= 0)
3825 { 3826 it->face_id = face_id;
3826 it->face_id = face_id;
3827 }
3828 } 3827 }
3829 } 3828 }
3830 else 3829 else