The byte-compiler ate my baby

This commit is contained in:
Henrik Lissner 2020-02-06 15:30:50 -05:00
parent 7afa8a7e90
commit 1910453e29
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
6 changed files with 36 additions and 40 deletions

View file

@ -44,8 +44,7 @@ FRAME parameter defaults to current frame."
(let* ((font (frame-parameter nil 'font))
(font (doom--font-name font))
(increment (* increment doom-font-increment))
(zoom-factor (or doom--font-scale 0))
success)
(zoom-factor (or doom--font-scale 0)))
(let ((new-size (+ (string-to-number (aref font xlfd-regexp-pixelsize-subnum))
increment)))
(unless (> new-size 0)