/[emacs]/emacs/src/xdisp.c
ViewVC logotype

Diff of /emacs/src/xdisp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.729.2.6 by handa, Tue Jul 23 02:58:07 2002 UTC revision 1.729.2.7 by handa, Fri Jul 26 04:07:18 2002 UTC
# Line 5685  message_dolog (m, nbytes, nlflag, multib Line 5685  message_dolog (m, nbytes, nlflag, multib
5685            for (i = 0; i < nbytes; i += nbytes)            for (i = 0; i < nbytes; i += nbytes)
5686              {              {
5687                c = string_char_and_length (m + i, nbytes - i, &char_bytes);                c = string_char_and_length (m + i, nbytes - i, &char_bytes);
5688                work[0] = (SINGLE_BYTE_CHAR_P (c)                work[0] = (ASCII_CHAR_P (c)
5689                           ? c                           ? c
5690                           : multibyte_char_to_unibyte (c, Qnil));                           : multibyte_char_to_unibyte (c, Qnil));
5691                insert_1_both (work, 1, 1, 1, 0, 0);                insert_1_both (work, 1, 1, 1, 0, 0);
# Line 6946  set_message_1 (a1, a2, nbytes, multibyte Line 6946  set_message_1 (a1, a2, nbytes, multibyte
6946            for (i = 0; i < nbytes; i += n)            for (i = 0; i < nbytes; i += n)
6947              {              {
6948                c = string_char_and_length (s + i, nbytes - i, &n);                c = string_char_and_length (s + i, nbytes - i, &n);
6949                work[0] = (SINGLE_BYTE_CHAR_P (c)                work[0] = (ASCII_CHAR_P (c)
6950                           ? c                           ? c
6951                           : multibyte_char_to_unibyte (c, Qnil));                           : multibyte_char_to_unibyte (c, Qnil));
6952                insert_1_both (work, 1, 1, 1, 0, 0);                insert_1_both (work, 1, 1, 1, 0, 0);
# Line 12707  extend_face_to_end_of_line (it) Line 12707  extend_face_to_end_of_line (it)
12707           ASCII face.  This will be automatically undone the next time           ASCII face.  This will be automatically undone the next time
12708           get_next_display_element returns a multibyte character.  Note           get_next_display_element returns a multibyte character.  Note
12709           that the character will always be single byte in unibyte text.  */           that the character will always be single byte in unibyte text.  */
12710    if (!SINGLE_BYTE_CHAR_P (it->c))    if (!ASCII_CHAR_P (it->c))
12711      {      {
12712        it->face_id = FACE_FOR_CHAR (f, face, 0);        it->face_id = FACE_FOR_CHAR (f, face, 0);
12713      }      }
# Line 12815  highlight_trailing_whitespace (f, row) Line 12815  highlight_trailing_whitespace (f, row)
12815                    && glyph->u.ch == ' '))                    && glyph->u.ch == ' '))
12816            && trailing_whitespace_p (glyph->charpos))            && trailing_whitespace_p (glyph->charpos))
12817          {          {
12818            int face_id = lookup_named_face (f, Qtrailing_whitespace, 0);            int face_id = lookup_named_face (f, Qtrailing_whitespace);
12819                        
12820            while (glyph >= start            while (glyph >= start
12821                   && BUFFERP (glyph->object)                   && BUFFERP (glyph->object)

Legend:
Removed from v.1.729.2.6  
changed lines
  Added in v.1.729.2.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26