# HG changeset patch # User Juanma Barranquero # Date 1170245785 0 # Node ID be6933d061a143697d6f972c3aa7279266960997 # Parent 646a89b6a638a4e701eda1b80a1d130ceb31bfb6 (color-values): Doc fix. (face-differs-from-default-p): Don't check :foreground twice. diff -r 646a89b6a638 -r be6933d061a1 lisp/faces.el --- a/lisp/faces.el Wed Jan 31 10:04:15 2007 +0000 +++ b/lisp/faces.el Wed Jan 31 12:16:25 2007 +0000 @@ -248,8 +248,8 @@ If FRAME is omitted or nil, use the selected frame." (let ((attrs '(:family :width :height :weight :slant :foreground - :foreground :background :underline :overline - :strike-through :box :inverse-video)) + :background :underline :overline :strike-through + :box :inverse-video)) (differs nil)) (while (and attrs (not differs)) (let* ((attr (pop attrs)) @@ -1541,7 +1541,7 @@ (defun color-values (color &optional frame) "Return a description of the color named COLOR on frame FRAME. The value is a list of integer RGB values--\(RED GREEN BLUE\). -These values appear to range from 0 65535; white is \(65535 65535 65535\). +These values range from 0 to 65535; white is \(65535 65535 65535\). If FRAME is omitted or nil, use the selected frame. If FRAME cannot display COLOR, the value is nil. If COLOR is the symbol `unspecified' or one of the strings