diff options
Diffstat (limited to 'lisp/textmodes/enriched.el')
| -rw-r--r-- | lisp/textmodes/enriched.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/textmodes/enriched.el b/lisp/textmodes/enriched.el index a269cae0c9b..c5ae2a15557 100644 --- a/lisp/textmodes/enriched.el +++ b/lisp/textmodes/enriched.el | |||
| @@ -390,6 +390,16 @@ which can be the value of the `face' text property." | |||
| 390 | (list (list "x-color" (cadr face)))) | 390 | (list (list "x-color" (cadr face)))) |
| 391 | ((and (listp face) (eq (car face) :background)) | 391 | ((and (listp face) (eq (car face) :background)) |
| 392 | (list (list "x-bg-color" (cadr face)))) | 392 | (list (list "x-bg-color" (cadr face)))) |
| 393 | ((and (listp face) (eq (car face) :underline)) | ||
| 394 | (list (list "underline"))) | ||
| 395 | ((and (listp face) | ||
| 396 | (eq (car face) :weight) | ||
| 397 | (eq (cadr face) 'bold)) | ||
| 398 | (list (list "bold"))) | ||
| 399 | ((and (listp face) | ||
| 400 | (eq (car face) :slant) | ||
| 401 | (memq (cadr face) '(italic oblique))) | ||
| 402 | (list (list "italic"))) | ||
| 393 | ((listp face) | 403 | ((listp face) |
| 394 | (apply #'append (mapcar #'enriched-face-ans face))) | 404 | (apply #'append (mapcar #'enriched-face-ans face))) |
| 395 | ((let* ((fg (face-attribute face :foreground)) | 405 | ((let* ((fg (face-attribute face :foreground)) |