Skip to content

Commit

Permalink
fix(blamer): edge case when launching Emacs from tty
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 21, 2023
1 parent 792a5f5 commit 95b52ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/me-vc.el
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
"gB" #'blamer-show-commit-info)

;; Use 10% smaller font size for blamer's text
(set-face-attribute 'blamer-face nil :height (truncate (* 0.9 (face-attribute 'default :height))))
(set-face-attribute 'blamer-face nil :height (max (truncate (* 0.9 (face-attribute 'default :height))) 1))

(with-eval-after-load 'me-writing-mode
(defvar-local +blamer-was-active-p blamer-mode)
Expand Down

0 comments on commit 95b52ae

Please sign in to comment.