diff options
| author | Basil L. Contovounesios | 2017-12-15 12:20:38 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2017-12-15 12:20:38 +0200 |
| commit | 92b2604a7f1757e0b2487451441c39a48f989c19 (patch) | |
| tree | 71fcd4a6f3bfcd73ae9b1c58cc5e9246291cac3e | |
| parent | b1efbe656477bcda66de1bfab028e4e39bace055 (diff) | |
| download | emacs-92b2604a7f1757e0b2487451441c39a48f989c19.tar.gz emacs-92b2604a7f1757e0b2487451441c39a48f989c19.zip | |
Modernise message.el face spec syntax
* lisp/gnus/message.el (message-header-to, message-header-cc)
(message-header-subject, message-header-newsgroups)
(message-header-other, message-header-name, message-header-xheader)
(message-separator, message-cited-text, message-mml):
Use (DISPLAY . PLIST) face spec syntax as recommended in
`(elisp) Defining Faces'. (Bug#29405)
| -rw-r--r-- | lisp/gnus/message.el | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 508d725a78d..750958dab7d 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -1428,12 +1428,12 @@ starting with `not' and followed by regexps." | |||
| 1428 | (defface message-header-to | 1428 | (defface message-header-to |
| 1429 | '((((class color) | 1429 | '((((class color) |
| 1430 | (background dark)) | 1430 | (background dark)) |
| 1431 | (:foreground "DarkOliveGreen1" :bold t)) | 1431 | :foreground "DarkOliveGreen1" :bold t) |
| 1432 | (((class color) | 1432 | (((class color) |
| 1433 | (background light)) | 1433 | (background light)) |
| 1434 | (:foreground "MidnightBlue" :bold t)) | 1434 | :foreground "MidnightBlue" :bold t) |
| 1435 | (t | 1435 | (t |
| 1436 | (:bold t :italic t))) | 1436 | :bold t :italic t)) |
| 1437 | "Face used for displaying To headers." | 1437 | "Face used for displaying To headers." |
| 1438 | :group 'message-faces) | 1438 | :group 'message-faces) |
| 1439 | (define-obsolete-face-alias 'message-header-to-face | 1439 | (define-obsolete-face-alias 'message-header-to-face |
| @@ -1442,12 +1442,12 @@ starting with `not' and followed by regexps." | |||
| 1442 | (defface message-header-cc | 1442 | (defface message-header-cc |
| 1443 | '((((class color) | 1443 | '((((class color) |
| 1444 | (background dark)) | 1444 | (background dark)) |
| 1445 | (:foreground "chartreuse1" :bold t)) | 1445 | :foreground "chartreuse1" :bold t) |
| 1446 | (((class color) | 1446 | (((class color) |
| 1447 | (background light)) | 1447 | (background light)) |
| 1448 | (:foreground "MidnightBlue")) | 1448 | :foreground "MidnightBlue") |
| 1449 | (t | 1449 | (t |
| 1450 | (:bold t))) | 1450 | :bold t)) |
| 1451 | "Face used for displaying Cc headers." | 1451 | "Face used for displaying Cc headers." |
| 1452 | :group 'message-faces) | 1452 | :group 'message-faces) |
| 1453 | (define-obsolete-face-alias 'message-header-cc-face | 1453 | (define-obsolete-face-alias 'message-header-cc-face |
| @@ -1456,12 +1456,12 @@ starting with `not' and followed by regexps." | |||
| 1456 | (defface message-header-subject | 1456 | (defface message-header-subject |
| 1457 | '((((class color) | 1457 | '((((class color) |
| 1458 | (background dark)) | 1458 | (background dark)) |
| 1459 | (:foreground "OliveDrab1")) | 1459 | :foreground "OliveDrab1") |
| 1460 | (((class color) | 1460 | (((class color) |
| 1461 | (background light)) | 1461 | (background light)) |
| 1462 | (:foreground "navy blue" :bold t)) | 1462 | :foreground "navy blue" :bold t) |
| 1463 | (t | 1463 | (t |
| 1464 | (:bold t))) | 1464 | :bold t)) |
| 1465 | "Face used for displaying Subject headers." | 1465 | "Face used for displaying Subject headers." |
| 1466 | :group 'message-faces) | 1466 | :group 'message-faces) |
| 1467 | (define-obsolete-face-alias 'message-header-subject-face | 1467 | (define-obsolete-face-alias 'message-header-subject-face |
| @@ -1470,12 +1470,12 @@ starting with `not' and followed by regexps." | |||
| 1470 | (defface message-header-newsgroups | 1470 | (defface message-header-newsgroups |
| 1471 | '((((class color) | 1471 | '((((class color) |
| 1472 | (background dark)) | 1472 | (background dark)) |
| 1473 | (:foreground "yellow" :bold t :italic t)) | 1473 | :foreground "yellow" :bold t :italic t) |
| 1474 | (((class color) | 1474 | (((class color) |
| 1475 | (background light)) | 1475 | (background light)) |
| 1476 | (:foreground "blue4" :bold t :italic t)) | 1476 | :foreground "blue4" :bold t :italic t) |
| 1477 | (t | 1477 | (t |
| 1478 | (:bold t :italic t))) | 1478 | :bold t :italic t)) |
| 1479 | "Face used for displaying Newsgroups headers." | 1479 | "Face used for displaying Newsgroups headers." |
| 1480 | :group 'message-faces) | 1480 | :group 'message-faces) |
| 1481 | (define-obsolete-face-alias 'message-header-newsgroups-face | 1481 | (define-obsolete-face-alias 'message-header-newsgroups-face |
| @@ -1484,12 +1484,12 @@ starting with `not' and followed by regexps." | |||
| 1484 | (defface message-header-other | 1484 | (defface message-header-other |
| 1485 | '((((class color) | 1485 | '((((class color) |
| 1486 | (background dark)) | 1486 | (background dark)) |
| 1487 | (:foreground "VioletRed1")) | 1487 | :foreground "VioletRed1") |
| 1488 | (((class color) | 1488 | (((class color) |
| 1489 | (background light)) | 1489 | (background light)) |
| 1490 | (:foreground "steel blue")) | 1490 | :foreground "steel blue") |
| 1491 | (t | 1491 | (t |
| 1492 | (:bold t :italic t))) | 1492 | :bold t :italic t)) |
| 1493 | "Face used for displaying other headers." | 1493 | "Face used for displaying other headers." |
| 1494 | :group 'message-faces) | 1494 | :group 'message-faces) |
| 1495 | (define-obsolete-face-alias 'message-header-other-face | 1495 | (define-obsolete-face-alias 'message-header-other-face |
| @@ -1498,12 +1498,12 @@ starting with `not' and followed by regexps." | |||
| 1498 | (defface message-header-name | 1498 | (defface message-header-name |
| 1499 | '((((class color) | 1499 | '((((class color) |
| 1500 | (background dark)) | 1500 | (background dark)) |
| 1501 | (:foreground "green")) | 1501 | :foreground "green") |
| 1502 | (((class color) | 1502 | (((class color) |
| 1503 | (background light)) | 1503 | (background light)) |
| 1504 | (:foreground "cornflower blue")) | 1504 | :foreground "cornflower blue") |
| 1505 | (t | 1505 | (t |
| 1506 | (:bold t))) | 1506 | :bold t)) |
| 1507 | "Face used for displaying header names." | 1507 | "Face used for displaying header names." |
| 1508 | :group 'message-faces) | 1508 | :group 'message-faces) |
| 1509 | (define-obsolete-face-alias 'message-header-name-face | 1509 | (define-obsolete-face-alias 'message-header-name-face |
| @@ -1512,12 +1512,12 @@ starting with `not' and followed by regexps." | |||
| 1512 | (defface message-header-xheader | 1512 | (defface message-header-xheader |
| 1513 | '((((class color) | 1513 | '((((class color) |
| 1514 | (background dark)) | 1514 | (background dark)) |
| 1515 | (:foreground "DeepSkyBlue1")) | 1515 | :foreground "DeepSkyBlue1") |
| 1516 | (((class color) | 1516 | (((class color) |
| 1517 | (background light)) | 1517 | (background light)) |
| 1518 | (:foreground "blue")) | 1518 | :foreground "blue") |
| 1519 | (t | 1519 | (t |
| 1520 | (:bold t))) | 1520 | :bold t)) |
| 1521 | "Face used for displaying X-Header headers." | 1521 | "Face used for displaying X-Header headers." |
| 1522 | :group 'message-faces) | 1522 | :group 'message-faces) |
| 1523 | (define-obsolete-face-alias 'message-header-xheader-face | 1523 | (define-obsolete-face-alias 'message-header-xheader-face |
| @@ -1526,12 +1526,12 @@ starting with `not' and followed by regexps." | |||
| 1526 | (defface message-separator | 1526 | (defface message-separator |
| 1527 | '((((class color) | 1527 | '((((class color) |
| 1528 | (background dark)) | 1528 | (background dark)) |
| 1529 | (:foreground "LightSkyBlue1")) | 1529 | :foreground "LightSkyBlue1") |
| 1530 | (((class color) | 1530 | (((class color) |
| 1531 | (background light)) | 1531 | (background light)) |
| 1532 | (:foreground "brown")) | 1532 | :foreground "brown") |
| 1533 | (t | 1533 | (t |
| 1534 | (:bold t))) | 1534 | :bold t)) |
| 1535 | "Face used for displaying the separator." | 1535 | "Face used for displaying the separator." |
| 1536 | :group 'message-faces) | 1536 | :group 'message-faces) |
| 1537 | (define-obsolete-face-alias 'message-separator-face | 1537 | (define-obsolete-face-alias 'message-separator-face |
| @@ -1540,12 +1540,12 @@ starting with `not' and followed by regexps." | |||
| 1540 | (defface message-cited-text | 1540 | (defface message-cited-text |
| 1541 | '((((class color) | 1541 | '((((class color) |
| 1542 | (background dark)) | 1542 | (background dark)) |
| 1543 | (:foreground "LightPink1")) | 1543 | :foreground "LightPink1") |
| 1544 | (((class color) | 1544 | (((class color) |
| 1545 | (background light)) | 1545 | (background light)) |
| 1546 | (:foreground "red")) | 1546 | :foreground "red") |
| 1547 | (t | 1547 | (t |
| 1548 | (:bold t))) | 1548 | :bold t)) |
| 1549 | "Face used for displaying cited text names." | 1549 | "Face used for displaying cited text names." |
| 1550 | :group 'message-faces) | 1550 | :group 'message-faces) |
| 1551 | (define-obsolete-face-alias 'message-cited-text-face | 1551 | (define-obsolete-face-alias 'message-cited-text-face |
| @@ -1554,12 +1554,12 @@ starting with `not' and followed by regexps." | |||
| 1554 | (defface message-mml | 1554 | (defface message-mml |
| 1555 | '((((class color) | 1555 | '((((class color) |
| 1556 | (background dark)) | 1556 | (background dark)) |
| 1557 | (:foreground "MediumSpringGreen")) | 1557 | :foreground "MediumSpringGreen") |
| 1558 | (((class color) | 1558 | (((class color) |
| 1559 | (background light)) | 1559 | (background light)) |
| 1560 | (:foreground "ForestGreen")) | 1560 | :foreground "ForestGreen") |
| 1561 | (t | 1561 | (t |
| 1562 | (:bold t))) | 1562 | :bold t)) |
| 1563 | "Face used for displaying MML." | 1563 | "Face used for displaying MML." |
| 1564 | :group 'message-faces) | 1564 | :group 'message-faces) |
| 1565 | (define-obsolete-face-alias 'message-mml-face | 1565 | (define-obsolete-face-alias 'message-mml-face |