diff options
Diffstat (limited to 'src/xfaces.c')
| -rw-r--r-- | src/xfaces.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index 1e27d5cc043..71709446c1d 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* xfaces.c -- "Face" primitives. | 1 | /* xfaces.c -- "Face" primitives. |
| 2 | 2 | ||
| 3 | Copyright (C) 1993-1994, 1998-2012 Free Software Foundation, Inc. | 3 | Copyright (C) 1993-1994, 1998-2013 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -1585,7 +1585,7 @@ the face font sort order. */) | |||
| 1585 | for (i = nfonts - 1; i >= 0; --i) | 1585 | for (i = nfonts - 1; i >= 0; --i) |
| 1586 | { | 1586 | { |
| 1587 | Lisp_Object font = AREF (vec, i); | 1587 | Lisp_Object font = AREF (vec, i); |
| 1588 | Lisp_Object v = Fmake_vector (make_number (8), Qnil); | 1588 | Lisp_Object v = make_uninit_vector (8); |
| 1589 | int point; | 1589 | int point; |
| 1590 | Lisp_Object spacing; | 1590 | Lisp_Object spacing; |
| 1591 | 1591 | ||
| @@ -4877,6 +4877,8 @@ tty_supports_face_attributes_p (struct frame *f, | |||
| 4877 | { | 4877 | { |
| 4878 | if (STRINGP (val)) | 4878 | if (STRINGP (val)) |
| 4879 | return 0; /* ttys can't use colored underlines */ | 4879 | return 0; /* ttys can't use colored underlines */ |
| 4880 | else if (EQ (CAR_SAFE (val), QCstyle) && EQ (CAR_SAFE (CDR_SAFE (val)), Qwave)) | ||
| 4881 | return 0; /* ttys can't use wave underlines */ | ||
| 4880 | else if (face_attr_equal_p (val, def_attrs[LFACE_UNDERLINE_INDEX])) | 4882 | else if (face_attr_equal_p (val, def_attrs[LFACE_UNDERLINE_INDEX])) |
| 4881 | return 0; /* same as default */ | 4883 | return 0; /* same as default */ |
| 4882 | else | 4884 | else |
| @@ -6150,7 +6152,7 @@ face_at_string_position (struct window *w, Lisp_Object string, | |||
| 6150 | struct frame *f = XFRAME (WINDOW_FRAME (w)); | 6152 | struct frame *f = XFRAME (WINDOW_FRAME (w)); |
| 6151 | Lisp_Object attrs[LFACE_VECTOR_SIZE]; | 6153 | Lisp_Object attrs[LFACE_VECTOR_SIZE]; |
| 6152 | struct face *base_face; | 6154 | struct face *base_face; |
| 6153 | int multibyte_p = STRING_MULTIBYTE (string); | 6155 | bool multibyte_p = STRING_MULTIBYTE (string); |
| 6154 | Lisp_Object prop_name = mouse_p ? Qmouse_face : Qface; | 6156 | Lisp_Object prop_name = mouse_p ? Qmouse_face : Qface; |
| 6155 | 6157 | ||
| 6156 | /* Get the value of the face property at the current position within | 6158 | /* Get the value of the face property at the current position within |