Commit 7cf6fac1 authored by Richard M. Stallman's avatar Richard M. Stallman

(x-resolve-font-name): Clean up error messages.

parent 43be9218
......@@ -428,9 +428,9 @@ also the same size as FACE on FRAME."
(let ((fonts (x-list-fonts pattern face frame)))
(or fonts
(if face
(error "no fonts matching pattern are the same size as `%s'."
(error "No fonts matching pattern are the same size as `%s'"
face)
(error "no fonts match `%S'." pattern)))
(error "No fonts match `%s'" pattern)))
(car fonts))
(cdr (assq 'font (frame-parameters (selected-frame))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment