summaryrefslogtreecommitdiff
path: root/lisp/cus-face.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2007-09-17 02:55:37 +0000
committerRichard M. Stallman <rms@gnu.org>2007-09-17 02:55:37 +0000
commit578b4e9deeca92fa33d8e46c3e234b224169880d (patch)
tree135453d7f6d8da9a5ebbfb0b8858c36f10744a46 /lisp/cus-face.el
parent01d2eac830341410dbe8b1ddfe340e80562bd04f (diff)
downloademacs-578b4e9deeca92fa33d8e46c3e234b224169880d.tar.gz
(custom-theme-set-faces): Undo previous change.
Diffstat (limited to 'lisp/cus-face.el')
-rw-r--r--lisp/cus-face.el21
1 files changed, 10 insertions, 11 deletions
diff --git a/lisp/cus-face.el b/lisp/cus-face.el
index 09cf058dc64..92274dcbe21 100644
--- a/lisp/cus-face.el
+++ b/lisp/cus-face.el
@@ -342,17 +342,16 @@ FACE's list property `theme-face' \(using `custom-push-theme')."
(unless (facep face)
(make-empty-face face))
(put face 'face-comment comment)
- (dolist (frame (frame-list))
- (face-spec-set face spec frame)))
- (setq args (cdr args)))
- ;; Old format, a plist of FACE SPEC pairs.
- (let ((face (nth 0 args))
- (spec (nth 1 args)))
- (if (get face 'face-alias)
- (setq face (get face 'face-alias)))
- (put face 'saved-face spec)
- (custom-push-theme 'theme-face face theme 'set spec))
- (setq args (cdr (cdr args))))))))
+ (face-spec-set face spec nil))
+ (setq args (cdr args)))
+ ;; Old format, a plist of FACE SPEC pairs.
+ (let ((face (nth 0 args))
+ (spec (nth 1 args)))
+ (if (get face 'face-alias)
+ (setq face (get face 'face-alias)))
+ (put face 'saved-face spec)
+ (custom-push-theme 'theme-face face theme 'set spec))
+ (setq args (cdr (cdr args))))))))
;; XEmacs compability function. In XEmacs, when you reset a Custom
;; Theme, you have to specify the theme to reset it to. We just apply