# HG changeset patch # User Richard M. Stallman # Date 796547866 0 # Node ID 984f7567a1bdf131ce592833311f0b028981dd94 # Parent eb26f12a8be66d9c166d2b0acc498a39996764f9 Fix previous change. diff -r eb26f12a8be6 -r 984f7567a1bd lisp/faces.el --- a/lisp/faces.el Thu Mar 30 07:15:37 1995 +0000 +++ b/lisp/faces.el Thu Mar 30 07:17:46 1995 +0000 @@ -162,7 +162,7 @@ (interactive (internal-face-interactive "underline-p" "underlined")) (internal-set-face-1 face 'underline underline-p 7 frame)) -(defun modify-face-read-string (default name alist) +(defun modify-face-read-string (face default name alist) (let ((value (completing-read (if default @@ -192,12 +192,15 @@ (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 "))))