Skip to content

Commit

Permalink
fix(fonts): buggy check for installed fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 28, 2023
1 parent de54ff2 commit 31c1029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/me-fonts.el
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ factor for the font in Emacs' `face-font-rescale-alist'."

(defun +font-installed-p (font-family)
"Check if FONT-FAMILY is installed on the system."
(and font-family (member font-family +font-family-list)) t)
(and font-family (member font-family +font-family-list) t))

(defun +apply-font-script (script-or-face)
"Set font for SCRIPT-OR-FACE from `minemacs-fonts-plist'."
Expand Down

0 comments on commit 31c1029

Please sign in to comment.