summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2007-01-31 12:16:25 +0000
committerJuanma Barranquero <lekktu@gmail.com>2007-01-31 12:16:25 +0000
commit95facc1758046e52a3d11d483dff2f1b8b5bf11a (patch)
treee98de58136a9b69ad566ec7be730260d7e4e4cb7 /lisp
parent57a644088367051b17da4ac1e7ef0b20fc72b947 (diff)
downloademacs-95facc1758046e52a3d11d483dff2f1b8b5bf11a.tar.gz
(color-values): Doc fix.
(face-differs-from-default-p): Don't check :foreground twice.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/faces.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 7b521d385b1..53e3b004533 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -248,8 +248,8 @@ If FRAME is t, report on the defaults for face FACE (for new frames).
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 @@ If COLOR is the symbol `unspecified' or one of the strings
(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