Luc Teirlinck <[EMAIL PROTECTED]> writes:

> Miles Bader wrote:
>
>    > Have all faces that were renamed been given suitable aliases?
>    > Otherwise, the feature may not work too well in practice.
>
>    All the ones I renamed were.
>
> I forgot one thing, however.  For the patch I sent to work for an
> alias, the alias needs to be defined when .emacs is read.  That means
> that for the patch to work, all alias declarations for defface'd faces
> that are not defined in pre-loaded files should be auto-loaded.  

SIGH!  Looks like Emacs got infected with the face-alias virus -- and
it is rapidly spreading...

>                                                                  The
> same is true for variable aliases for defcustomed variables.  I
> probably should put a note about that somewhere in the Elisp manual
> where it talks about variable and face aliases.

Alternatively, if we use a function deffacealias instead of the
current method, it could simply check if the old face had been
modified and transfer the mods to the new face.

-- 
Kim F. Storm <[EMAIL PROTECTED]> http://www.cua.dk



_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to