+2007-12-31 Richard Stallman <rms@gnu.org>
+
+ * faces.el (face-all-attributes): If FRAME is nil, return defaults.
+
2007-12-31 Jay Belanger <jay.p.belanger@gmail.com>
* calc/calc-units.el (calc-convert-temperature): Ensure that units
Normally the value describes the default attributes,
but if you specify FRAME, the value describes the attributes
of FACE on FRAME."
- (mapcar (lambda (pair) (let ((attr (car pair)))
- (cons attr (face-attribute face attr frame))))
+ (mapcar (lambda (pair)
+ (let ((attr (car pair)))
+ (cons attr (face-attribute face attr (or frame t)))))
face-attribute-name-alist))
(defun face-attribute (face attribute &optional frame inherit)