Open Icy-Thought opened 1 month ago
From: Haruko @.***> Date: Sat, 19 Oct 2024 15:08:00 -0700
Is the intended behavior of
variable-pitch-family
when set tonil
to ignore thedefault-family
value or is this an accidental issue that I happen to run across?
It is intended to not try to do anything if we get a value that is not a string. In the function 'fontaine--set-face-attributes' we have the following:
(when (stringp family)
(internal-set-lisp-face-attribute face :family family frames))
Has this caused a bug on your end?
-- Protesilaos Stavrou https://protesilaos.com
Oh interesting! I thought it would've picked the default-family instead of setting the value to nil.
Is the intended behavior of
variable-pitch-family
when set tonil
to ignore thedefault-family
value or is this an accidental issue that I happen to run across? I noticed that when I refrain from setting the values of neitherfixed-pitch-family
norvariable-pitch-family
Emacs would fallback to my system "Sans" font instead of using thedefault-family
value.Fontaine snippet:
Emacs Info:
2.1.0 e689b0c