From: Miles Bader Date: Sun, 27 Aug 2000 02:04:26 +0000 (+0000) Subject: (read-face-font, read-face-and-attribute): Tweak prompts. X-Git-Tag: emacs-pretest-21.0.90~1952 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=48ec993922c673c39dc7758b0b410d40cb529068;p=emacs.git (read-face-font, read-face-and-attribute): Tweak prompts. --- diff --git a/lisp/faces.el b/lisp/faces.el index 63a48e35891..c95a8ef831d 100644 --- a/lisp/faces.el +++ b/lisp/faces.el @@ -920,7 +920,7 @@ of a global face. Value is the new attribute value." "Read the name of a font for FACE on FRAME. If optional argument FRAME Is nil or omitted, use the selected frame." (let ((completion-ignore-case t)) - (completing-read (format "Set font attributes of face %s from font: " face) + (completing-read (format "Set font attributes of face `%s' from font: " face) (mapcar 'list (x-list-fonts "*" nil frame))))) @@ -952,7 +952,7 @@ FRAME nil or unspecified means read attribute value of global face. Value is a list (FACE NEW-VALUE) where FACE is the face read (a symbol), and NEW-VALUE is value read." (cond ((eq attribute :font) - (let* ((prompt (format "Set font-related attributes of face ")) + (let* ((prompt "Set font-related attributes of face") (face (read-face-name prompt)) (font (read-face-font face frame))) (list face font)))