From: Richard M. Stallman Date: Sat, 1 Jan 2005 14:21:37 +0000 (+0000) Subject: (set-face-background, set-face-foreground): Doc fix. X-Git-Tag: ttn-vms-21-2-B4~2988 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=72e6f142bf3a325d1eb5b590f402d5ae6a0b61f1;p=emacs.git (set-face-background, set-face-foreground): Doc fix. --- diff --git a/lisp/faces.el b/lisp/faces.el index 86fda8506d4..a234c902332 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -730,7 +730,9 @@ and `:slant'. When called interactively, prompt for the face and font." (defun set-face-background (face color &optional frame) "Change the background color of face FACE to COLOR (a string). FRAME nil or not specified means change face on all frames. -When called interactively, prompt for the face and color." +COLOR can be a system-defined color name (see `list-colors-display') +or a hex spec of the form #RRGGBB. +When called interactively, prompts for the face and color." (interactive (read-face-and-attribute :background)) (set-face-attribute face frame :background (or color 'unspecified))) @@ -738,7 +740,9 @@ When called interactively, prompt for the face and color." (defun set-face-foreground (face color &optional frame) "Change the foreground color of face FACE to COLOR (a string). FRAME nil or not specified means change face on all frames. -When called interactively, prompt for the face and color." +COLOR can be a system-defined color name (see `list-colors-display') +or a hex spec of the form #RRGGBB. +When called interactively, prompts for the face and color." (interactive (read-face-and-attribute :foreground)) (set-face-attribute face frame :foreground (or color 'unspecified)))