What is the idiomatic way to make one face the same as another?
Basically, I would like vertical-border
to be exactly the same as default
. Preferably, if default
changes, so does vertical-border
.
I'm not sure that creating a face alias is the right thing to do.
- It's not clear that we should be aliasing one face as another.
- By the time the init file is loaded, the vertical border has already rendered, and aliasing does not re-render the vertical border
At the very least, I'd like to have something like (copy-face 'default 'vertical-border)
that copied all attributes of default
into vertical-border
, even if it's a one-time thing and the latter will not change when the former does.
customize-face
and theinherit
property. – lawlist Sep 18 '16 at 16:32