mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-23 21:37:34 +00:00
(read-face-font, read-face-and-attribute): Tweak prompts.
This commit is contained in:
parent
c9ef1229a7
commit
48ec993922
1 changed files with 2 additions and 2 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue