emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/faces.el


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/faces.el
Date: Sat, 01 Jan 2005 09:51:16 -0500

Index: emacs/lisp/faces.el
diff -c emacs/lisp/faces.el:1.298 emacs/lisp/faces.el:1.299
*** emacs/lisp/faces.el:1.298   Fri Dec 31 15:21:47 2004
--- emacs/lisp/faces.el Sat Jan  1 14:21:37 2005
***************
*** 730,736 ****
  (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."
    (interactive (read-face-and-attribute :background))
    (set-face-attribute face frame :background (or color 'unspecified)))
  
--- 730,738 ----
  (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.
! 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,744 ****
  (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."
    (interactive (read-face-and-attribute :foreground))
    (set-face-attribute face frame :foreground (or color 'unspecified)))
  
--- 740,748 ----
  (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.
! 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)))
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]