From 72e6f142bf3a325d1eb5b590f402d5ae6a0b61f1 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 1 Jan 2005 14:21:37 +0000 Subject: [PATCH] (set-face-background, set-face-foreground): Doc fix. --- lisp/faces.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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))) -- 2.39.5