Merge pull request #1621 from ashtonbaker/fix-spelling

fix small spelling mistake in fonts.el
This commit is contained in:
Henrik Lissner 2019-08-15 15:02:17 -04:00 committed by GitHub
commit 4e016eb843
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 "*")