1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

(read-face-name): Format the prompt correctly when there's no default.

This commit is contained in:
Miles Bader 2002-04-27 04:57:44 +00:00
parent 3fad47d896
commit 3b4ef34b2e
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2002-04-27 Miles Bader <miles@gnu.org>
* faces.el (read-face-name): Format the prompt correctly when
there's no default.
2002-04-26 Andrew Choi <akochoi@shaw.ca>
* term/mac-win.el: Don't call ediff-toggle-multiframe. Set

View File

@ -879,7 +879,7 @@ Otherwise, return a single face."
(format "%s (default %s): " prompt
(if faces (mapconcat 'symbol-name faces ", ")
string-describing-default))
prompt)
(format "%s: " prompt))
obarray 'custom-facep t))
;; Canonicalize the output.
(output
@ -894,8 +894,6 @@ Otherwise, return a single face."
(car output)))))
(defun face-valid-attribute-values (attribute &optional frame)
"Return valid values for face attribute ATTRIBUTE.
The optional argument FRAME is used to determine available fonts