fix small spelling mistake in fonts.el

This commit is contained in:
Ashton Baker 2019-07-30 13:26:46 -04:00 committed by Ashton Baker
parent 40eb9cf17e
commit aa3538591a

View file

@ -50,7 +50,7 @@ FRAME parameter defaults to current frame."
(let ((new-size (+ (string-to-number (aref font xlfd-regexp-pixelsize-subnum))
increment)))
(unless (> new-size 0)
(error "Font is to small at %d" new-size))
(error "Font is too small at %d" new-size))
(aset font xlfd-regexp-pixelsize-subnum (number-to-string new-size)))
;; Set point size & width to "*", so frame width will adjust to new font size
(aset font xlfd-regexp-pointsize-subnum "*")