diff options
| author | Miles Bader | 2000-08-27 02:04:26 +0000 |
|---|---|---|
| committer | Miles Bader | 2000-08-27 02:04:26 +0000 |
| commit | 48ec993922c673c39dc7758b0b410d40cb529068 (patch) | |
| tree | cf6005e962a1e9cd2ab7543f2c83c1032ff94829 | |
| parent | c9ef1229a7495d60ee383021dab4f845b4133ecb (diff) | |
| download | emacs-48ec993922c673c39dc7758b0b410d40cb529068.tar.gz emacs-48ec993922c673c39dc7758b0b410d40cb529068.zip | |
(read-face-font, read-face-and-attribute): Tweak prompts.
| -rw-r--r-- | lisp/faces.el | 4 |
1 files changed, 2 insertions, 2 deletions
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." | |||
| 920 | "Read the name of a font for FACE on FRAME. | 920 | "Read the name of a font for FACE on FRAME. |
| 921 | If optional argument FRAME Is nil or omitted, use the selected frame." | 921 | If optional argument FRAME Is nil or omitted, use the selected frame." |
| 922 | (let ((completion-ignore-case t)) | 922 | (let ((completion-ignore-case t)) |
| 923 | (completing-read (format "Set font attributes of face %s from font: " face) | 923 | (completing-read (format "Set font attributes of face `%s' from font: " face) |
| 924 | (mapcar 'list (x-list-fonts "*" nil frame))))) | 924 | (mapcar 'list (x-list-fonts "*" nil frame))))) |
| 925 | 925 | ||
| 926 | 926 | ||
| @@ -952,7 +952,7 @@ FRAME nil or unspecified means read attribute value of global face. | |||
| 952 | Value is a list (FACE NEW-VALUE) where FACE is the face read | 952 | Value is a list (FACE NEW-VALUE) where FACE is the face read |
| 953 | (a symbol), and NEW-VALUE is value read." | 953 | (a symbol), and NEW-VALUE is value read." |
| 954 | (cond ((eq attribute :font) | 954 | (cond ((eq attribute :font) |
| 955 | (let* ((prompt (format "Set font-related attributes of face ")) | 955 | (let* ((prompt "Set font-related attributes of face") |
| 956 | (face (read-face-name prompt)) | 956 | (face (read-face-name prompt)) |
| 957 | (font (read-face-font face frame))) | 957 | (font (read-face-font face frame))) |
| 958 | (list face font))) | 958 | (list face font))) |