diff options
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/faces.el | 1 | ||||
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/xfaces.c | 6 |
4 files changed, 14 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4e76cc6c846..0781971c38f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2013-11-08 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * faces.el (describe-face): Add distant-foreground. | ||
| 4 | |||
| 1 | 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com> | 5 | 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com> |
| 2 | 6 | ||
| 3 | * progmodes/ruby-mode.el (ruby-mode-set-encoding): Use | 7 | * progmodes/ruby-mode.el (ruby-mode-set-encoding): Use |
diff --git a/lisp/faces.el b/lisp/faces.el index 8ff93874de0..0e965a89ba7 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -1350,6 +1350,7 @@ If FRAME is omitted or nil, use the selected frame." | |||
| 1350 | (:weight . "Weight") | 1350 | (:weight . "Weight") |
| 1351 | (:slant . "Slant") | 1351 | (:slant . "Slant") |
| 1352 | (:foreground . "Foreground") | 1352 | (:foreground . "Foreground") |
| 1353 | (:distant-foreground . "DistantForeground") | ||
| 1353 | (:background . "Background") | 1354 | (:background . "Background") |
| 1354 | (:underline . "Underline") | 1355 | (:underline . "Underline") |
| 1355 | (:overline . "Overline") | 1356 | (:overline . "Overline") |
diff --git a/src/ChangeLog b/src/ChangeLog index 2a5c828578f..59a43d9a391 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2013-11-08 Jan Djärv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * xfaces.c (lface_fully_specified_p): Let distant-foreground be | ||
| 4 | unspecified. | ||
| 5 | (realize_default_face): Remove assignment to distant-foreground if | ||
| 6 | unspecified (Bug#15815). | ||
| 7 | |||
| 1 | 2013-11-08 Eli Zaretskii <eliz@gnu.org> | 8 | 2013-11-08 Eli Zaretskii <eliz@gnu.org> |
| 2 | 9 | ||
| 3 | * xdisp.c (message_dolog): Make sure the *Messages* buffer has its | 10 | * xdisp.c (message_dolog): Make sure the *Messages* buffer has its |
diff --git a/src/xfaces.c b/src/xfaces.c index de7636e960b..b9ddddfd9e2 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -2073,7 +2073,8 @@ lface_fully_specified_p (Lisp_Object attrs[LFACE_VECTOR_SIZE]) | |||
| 2073 | int i; | 2073 | int i; |
| 2074 | 2074 | ||
| 2075 | for (i = 1; i < LFACE_VECTOR_SIZE; ++i) | 2075 | for (i = 1; i < LFACE_VECTOR_SIZE; ++i) |
| 2076 | if (i != LFACE_FONT_INDEX && i != LFACE_INHERIT_INDEX) | 2076 | if (i != LFACE_FONT_INDEX && i != LFACE_INHERIT_INDEX |
| 2077 | && i != LFACE_DISTANT_FOREGROUND_INDEX) | ||
| 2077 | if ((UNSPECIFIEDP (attrs[i]) || IGNORE_DEFFACE_P (attrs[i]))) | 2078 | if ((UNSPECIFIEDP (attrs[i]) || IGNORE_DEFFACE_P (attrs[i]))) |
| 2078 | break; | 2079 | break; |
| 2079 | 2080 | ||
| @@ -5343,9 +5344,6 @@ realize_default_face (struct frame *f) | |||
| 5343 | emacs_abort (); | 5344 | emacs_abort (); |
| 5344 | } | 5345 | } |
| 5345 | 5346 | ||
| 5346 | if (UNSPECIFIEDP (LFACE_DISTANT_FOREGROUND (lface))) | ||
| 5347 | ASET (lface, LFACE_DISTANT_FOREGROUND_INDEX, build_string (unspecified_fg)); | ||
| 5348 | |||
| 5349 | if (UNSPECIFIEDP (LFACE_BACKGROUND (lface))) | 5347 | if (UNSPECIFIEDP (LFACE_BACKGROUND (lface))) |
| 5350 | { | 5348 | { |
| 5351 | /* This function is called so early that colors are not yet | 5349 | /* This function is called so early that colors are not yet |