On 6/24/05, Luc Teirlinck <[EMAIL PROTECTED]> wrote: > 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. > > Then you would have to autoload the deffacealias. For what I want to > do, the alias has to be known to Custom when the `custom-set-faces' > form is evaluated in .emacs.
I don't think so: if the deffacealias doesn't get loaded, then the old face customization remains in place, and harms nothing (because it isn't used). If the file containing the deffacealias is later loaded, it can fix up the info for its particular face, which is a simple job. So old face customizations would gradually get cleaned up, except those for packages that the user doesn't use anyway (and those don't matter). I think adding deffacealias is a good idea in general anyway -- we could initially define it to simply do exactly what the existing `put' forms do. -Miles -- Do not taunt Happy Fun Ball. _______________________________________________ Emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
