;;; faces.el --- Lisp interface to the c "face" structure
-;; Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
+;; Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
;; This file is part of GNU Emacs.
(interactive (internal-face-interactive "underline-p" "underlined"))
(internal-set-face-1 face 'underline underline-p 7 frame))
\f
-(defun modify-face-read-string (default name alist)
+(defun modify-face-read-string (face default name alist)
(let ((value
(completing-read
(if default
(apply 'nconc
(mapcar 'directory-files
x-bitmap-file-path))))
- (foreground (modify-face-read-string (face-foreground (intern face))
- "foreground" colors))
- (background (modify-face-read-string (face-background (intern face))
- "background" colors))
- (stipple (modify-face-read-string (face-stipple (intern face))
- "stipple" stipples))
+ (foreground (modify-face-read-string
+ face (face-foreground (intern face))
+ "foreground" colors))
+ (background (modify-face-read-string
+ face (face-background (intern face))
+ "background" colors))
+ (stipple (modify-face-read-string
+ face (face-stipple (intern face))
+ "stipple" stipples))
(bold-p (y-or-n-p (concat "Set face " face " bold ")))
(italic-p (y-or-n-p (concat "Set face " face " italic ")))
(underline-p (y-or-n-p (concat "Set face " face " underline "))))