[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is Default face a per frame attribute or a global one?
From: |
Alex Kost |
Subject: |
Re: Is Default face a per frame attribute or a global one? |
Date: |
Mon, 25 Aug 2014 09:54:13 +0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Alexandros Prekates (2014-08-25 03:29 +0400) wrote:
> Continuing little experiments to better undestand the relation among
> fonts, faces, frames etc, i noticed
> that if i have 2 frames (A and B) and i evaluate from ielm in frame A
> (set-frame-font "liberation serif" nil nil) . when i check the default
> face's font i see different values in frame A from frame B.
>
> So it seems that default face is a frame's variable.
>
> i mean every frame has its own default face? Is that right?
As you can see after "C-h f set-frame-font":
“...
If FRAMES is nil, apply the font to the selected frame only.
...”
So the second nil in your expression means you set a font only for the
current frame A.