Well, I realized that I might as well use overlays.

   I doesn't depend on the mode, but on whether font lock is used or not
   (font lock uses the face property).

I'm not sure this is correct, since if you save my message,
kill the buffer, reopen it, and run `font-lock-fontify-buffer'
then faces change, but the code snippet still changes
the faces when it is run.


_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to