diff options
Diffstat (limited to 'src')
| -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 221387c4b6d..5eda6dca6da 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -2906,6 +2906,12 @@ FRAME 0 means change the face on all frames, and change the default | |||
| 2906 | Lisp_Object key, val, list; | 2906 | Lisp_Object key, val, list; |
| 2907 | 2907 | ||
| 2908 | list = value; | 2908 | list = value; |
| 2909 | /* FIXME? This errs on the side of acceptance. Eg it accepts: | ||
| 2910 | (defface foo '((t :underline 'foo) "doc") | ||
| 2911 | Maybe this is intentional, maybe it isn't. | ||
| 2912 | Non-nil symbols other than t are not documented as being valid. | ||
| 2913 | Eg compare with inverse-video, which explicitly rejects them. | ||
| 2914 | */ | ||
| 2909 | valid_p = 1; | 2915 | valid_p = 1; |
| 2910 | 2916 | ||
| 2911 | while (!NILP (CAR_SAFE(list))) | 2917 | while (!NILP (CAR_SAFE(list))) |
| @@ -5727,6 +5733,8 @@ realize_x_face (struct face_cache *cache, Lisp_Object attrs[LFACE_VECTOR_SIZE]) | |||
| 5727 | face->underline_defaulted_p = 1; | 5733 | face->underline_defaulted_p = 1; |
| 5728 | face->underline_type = FACE_UNDER_LINE; | 5734 | face->underline_type = FACE_UNDER_LINE; |
| 5729 | 5735 | ||
| 5736 | /* FIXME? This is also not robust about checking the precise form. | ||
| 5737 | See comments in Finternal_set_lisp_face_attribute. */ | ||
| 5730 | while (CONSP (underline)) | 5738 | while (CONSP (underline)) |
| 5731 | { | 5739 | { |
| 5732 | Lisp_Object keyword, value; | 5740 | Lisp_Object keyword, value; |