aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog22
-rw-r--r--lisp/cus-edit.el12
2 files changed, 28 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 8c777d64dcc..8ee6ac43f2e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,25 @@
12007-12-30 Richard Stallman <rms@gnu.org>
2
3 * cus-edit.el (custom-face-set): Call `face-spec-set' with FOR-DEFFACE.
4 (custom-face-save): Likewise.
5 (custom-face-reset-saved, custom-face-reset-standard): Likewise.
6
7 * cus-face.el (custom-declare-face): Per frame, use `face-spec-set-2'.
8 (custom-theme-set-faces): Clear `face-override-spec' property.
9 Call `face-spec-set' with FOR-DEFFACE.
10
11 * custom.el (custom-theme-recalc-face):
12 Simply call `face-spec-recalc'.
13
14 * faces.el (face-spec-set): Third arg is now FOR-DEFFACE.
15 Use of frame as third arg is deprecated.
16 Handle `face-override-spec' property.
17 (face-spec-recalc): New function.
18 (face-spec-set-2): New function.
19 (frame-set-background-mode): Handle `face-override-spec' property.
20 Use `face-spec-recalc'.
21 (face-set-after-frame-default): Use `face-spec-recalc'.
22
12007-12-29 Nick Roberts <nickrob@snap.net.nz> 232007-12-29 Nick Roberts <nickrob@snap.net.nz>
2 24
3 * thumbs.el (thumbs-conversion-program): Add comment for Windows XP. 25 * thumbs.el (thumbs-conversion-program): Add comment for Windows XP.
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index b9e462ec05f..e2b885c6902 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -3496,10 +3496,10 @@ Optional EVENT is the location for the menu."
3496 (put symbol 'customized-face value) 3496 (put symbol 'customized-face value)
3497 (custom-push-theme 'theme-face symbol 'user 'set value) 3497 (custom-push-theme 'theme-face symbol 'user 'set value)
3498 (if (face-spec-choose value) 3498 (if (face-spec-choose value)
3499 (face-spec-set symbol value) 3499 (face-spec-set symbol value t)
3500 ;; face-set-spec ignores empty attribute lists, so just give it 3500 ;; face-set-spec ignores empty attribute lists, so just give it
3501 ;; something harmless instead. 3501 ;; something harmless instead.
3502 (face-spec-set symbol '((t :foreground unspecified)))) 3502 (face-spec-set symbol '((t :foreground unspecified)) t))
3503 (put symbol 'customized-face-comment comment) 3503 (put symbol 'customized-face-comment comment)
3504 (put symbol 'face-comment comment) 3504 (put symbol 'face-comment comment)
3505 (custom-face-state-set widget) 3505 (custom-face-state-set widget)
@@ -3518,10 +3518,10 @@ Optional EVENT is the location for the menu."
3518 (custom-comment-hide comment-widget)) 3518 (custom-comment-hide comment-widget))
3519 (custom-push-theme 'theme-face symbol 'user 'set value) 3519 (custom-push-theme 'theme-face symbol 'user 'set value)
3520 (if (face-spec-choose value) 3520 (if (face-spec-choose value)
3521 (face-spec-set symbol value) 3521 (face-spec-set symbol value t)
3522 ;; face-set-spec ignores empty attribute lists, so just give it 3522 ;; face-set-spec ignores empty attribute lists, so just give it
3523 ;; something harmless instead. 3523 ;; something harmless instead.
3524 (face-spec-set symbol '((t :foreground unspecified)))) 3524 (face-spec-set symbol '((t :foreground unspecified)) t))
3525 (unless (eq (widget-get widget :custom-state) 'standard) 3525 (unless (eq (widget-get widget :custom-state) 'standard)
3526 (put symbol 'saved-face value)) 3526 (put symbol 'saved-face value))
3527 (put symbol 'customized-face nil) 3527 (put symbol 'customized-face nil)
@@ -3548,7 +3548,7 @@ Optional EVENT is the location for the menu."
3548 (put symbol 'customized-face nil) 3548 (put symbol 'customized-face nil)
3549 (put symbol 'customized-face-comment nil) 3549 (put symbol 'customized-face-comment nil)
3550 (custom-push-theme 'theme-face symbol 'user 'set value) 3550 (custom-push-theme 'theme-face symbol 'user 'set value)
3551 (face-spec-set symbol value) 3551 (face-spec-set symbol value t)
3552 (put symbol 'face-comment comment) 3552 (put symbol 'face-comment comment)
3553 (widget-value-set child value) 3553 (widget-value-set child value)
3554 ;; This call manages the comment visibility 3554 ;; This call manages the comment visibility
@@ -3572,7 +3572,7 @@ restoring it to the state of a face that has never been customized."
3572 (put symbol 'customized-face nil) 3572 (put symbol 'customized-face nil)
3573 (put symbol 'customized-face-comment nil) 3573 (put symbol 'customized-face-comment nil)
3574 (custom-push-theme 'theme-face symbol 'user 'reset) 3574 (custom-push-theme 'theme-face symbol 'user 'reset)
3575 (face-spec-set symbol value) 3575 (face-spec-set symbol value t)
3576 (custom-theme-recalc-face symbol) 3576 (custom-theme-recalc-face symbol)
3577 (when (or (get symbol 'saved-face) (get symbol 'saved-face-comment)) 3577 (when (or (get symbol 'saved-face) (get symbol 'saved-face-comment))
3578 (put symbol 'saved-face nil) 3578 (put symbol 'saved-face nil)