Henrik Lissner 2020-03-10 01:44:48 -04:00
parent 5e94860d89
commit 382834b3b4
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 3 additions and 13 deletions

View file

@ -51,14 +51,4 @@
'org-indent
'font-lock-comment-face
'line-number
'line-number-current-line)
;; See https://gitlab.com/jabranham/mixed-pitch/issues/6#note_79691741
(defadvice! +zen--fix-scaled-fixed-pitch-faces-a (orig-fn &rest args)
:around #'mixed-pitch-mode
(cl-letf* ((old-face-remap-add-relative (symbol-function #'face-remap-add-relative))
((symbol-function #'face-remap-add-relative)
(lambda (face &rest specs)
(funcall old-face-remap-add-relative
face (doom-plist-delete specs :height)))))
(apply orig-fn args))))
'line-number-current-line))