aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/faces.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-05-31 18:02:03 +0000
committerRichard M. Stallman <[email protected]>1993-05-31 18:02:03 +0000
commit7cf6fac18064e404a26b2d633f9cbde5f73c0123 (patch)
tree8bc586a972136a512fc677fdec2c881da02d1ac2 /lisp/faces.el
parent43be9218cab03c27141fd4c1ca7ad8c9c2289fbc (diff)
(x-resolve-font-name): Clean up error messages.
Diffstat (limited to 'lisp/faces.el')
-rw-r--r--lisp/faces.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/faces.el b/lisp/faces.el
index 7788617ea2..b19159020c 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -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))))))