diff options
Diffstat (limited to 'src/xfaces.c')
| -rw-r--r-- | src/xfaces.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index daf329791c1..1e27d5cc043 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -2870,6 +2870,12 @@ FRAME 0 means change the face on all frames, and change the default | |||
| 2870 | Lisp_Object key, val, list; | 2870 | Lisp_Object key, val, list; |
| 2871 | 2871 | ||
| 2872 | list = value; | 2872 | list = value; |
| 2873 | /* FIXME? This errs on the side of acceptance. Eg it accepts: | ||
| 2874 | (defface foo '((t :underline 'foo) "doc") | ||
| 2875 | Maybe this is intentional, maybe it isn't. | ||
| 2876 | Non-nil symbols other than t are not documented as being valid. | ||
| 2877 | Eg compare with inverse-video, which explicitly rejects them. | ||
| 2878 | */ | ||
| 2873 | valid_p = 1; | 2879 | valid_p = 1; |
| 2874 | 2880 | ||
| 2875 | while (!NILP (CAR_SAFE(list))) | 2881 | while (!NILP (CAR_SAFE(list))) |
| @@ -5660,6 +5666,8 @@ realize_x_face (struct face_cache *cache, Lisp_Object attrs[LFACE_VECTOR_SIZE]) | |||
| 5660 | face->underline_defaulted_p = 1; | 5666 | face->underline_defaulted_p = 1; |
| 5661 | face->underline_type = FACE_UNDER_LINE; | 5667 | face->underline_type = FACE_UNDER_LINE; |
| 5662 | 5668 | ||
| 5669 | /* FIXME? This is also not robust about checking the precise form. | ||
| 5670 | See comments in Finternal_set_lisp_face_attribute. */ | ||
| 5663 | while (CONSP (underline)) | 5671 | while (CONSP (underline)) |
| 5664 | { | 5672 | { |
| 5665 | Lisp_Object keyword, value; | 5673 | Lisp_Object keyword, value; |