emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linum and AUCTeX: line number face


From: Stefan Monnier
Subject: Re: linum and AUCTeX: line number face
Date: Mon, 17 Sep 2007 12:20:07 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

>> '(linum ((t (:inherit default))))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

> That is not the default face.

> Try (copy-face 'default 'linum) or (put 'linum 'face-alias 'default instead).

> Inheriting will, of course, be overridden by any new properties.
> That's the whole point of it.

I don't think I agree: the inherited `default' should only be overridden by
new properties set *in the linum face* and in his above example there
are none so there sould be no difference between those two cases and using
inherit is a lot cleaner.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]