diff options
| author | Gerd Moellmann | 2001-10-29 12:25:27 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-10-29 12:25:27 +0000 |
| commit | 426b5652c663971aeb8c266a4b24a4e831ac17ea (patch) | |
| tree | f1a9cd2fc0d78f55cc0738648430c44bf0ef007f | |
| parent | 0f2c6573ceba133759963077a2f587ec643981cf (diff) | |
| download | emacs-426b5652c663971aeb8c266a4b24a4e831ac17ea.tar.gz emacs-426b5652c663971aeb8c266a4b24a4e831ac17ea.zip | |
(enriched-face-ans): Handle face attributes
of the form `(FACE1 FACE2 ...).
| -rw-r--r-- | lisp/enriched.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/enriched.el b/lisp/enriched.el index 8f4bf4f0392..48baaca2b2f 100644 --- a/lisp/enriched.el +++ b/lisp/enriched.el | |||
| @@ -352,6 +352,12 @@ One annotation each for foreground color, background color, italic, etc." | |||
| 352 | (list (list "x-color" (cdr face)))) | 352 | (list (list "x-color" (cdr face)))) |
| 353 | ((and (consp face) (eq (car face) 'background-color)) | 353 | ((and (consp face) (eq (car face) 'background-color)) |
| 354 | (list (list "x-bg-color" (cdr face)))) | 354 | (list (list "x-bg-color" (cdr face)))) |
| 355 | ((and (consp face) (symbolp (car face)) (not (keywordp (car face)))) | ||
| 356 | ;; List of faces `(face1 face2 ...)'. | ||
| 357 | (let ((ans nil)) | ||
| 358 | (dolist (elt face) | ||
| 359 | (setq ans (append ans (enriched-face-ans elt)))) | ||
| 360 | ans)) | ||
| 355 | ((string-match "^fg:" (symbol-name face)) | 361 | ((string-match "^fg:" (symbol-name face)) |
| 356 | (list (list "x-color" (substring (symbol-name face) 3)))) | 362 | (list (list "x-color" (substring (symbol-name face) 3)))) |
| 357 | ((string-match "^bg:" (symbol-name face)) | 363 | ((string-match "^bg:" (symbol-name face)) |