Perhaps diff-mode is preloaded,
It is not, unless your library loads it.
Perhaps `diff' loads it. Yes, looking at the code in diff.el, I see that
command `diff' calls `diff-mode', which probably loads diff-mode.el via
autload. So, you're right, this doesn't correspond to preloading.
because it works, in any case.
What works? I believe that in your original message, you complained
that things did not work.
Sorry, I wasn't clear. After renaming the faces in my code (but not the face
variables), my code works.
emacs -q
(load cygwin-mount.el and my setup-cygwin.el, to be able to use diff)
load-file my library with the code I discussed (it does not load diff-mode)
M-x diff
Gives the face colors I defined in my library using custom-set-faces.
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug