>>>> "Matt" == Matt Tucker
<tuck(a)whistlingfish.net> writes:
Matt> This is a GNU Emacs thing. The XEmacs equivalent seems to be
Matt> font-lock-auto-fontify, which by default is t.
XEmacs doesn't have an equivalent. Presumably that's an oversight.
Before you violate the Global Variable Antiproliferation Treaty by
adding yet another, please consider whether maybe the right interface
isn't to shit-can the "this-mode-font-lock-enabled" code in favor of
(set-specifier enable-font-lock t (current-buffer))
etc. Then to get the effect you want, you do
(set-specifier enable-font-lock t 'global)
Unfortunately specifiers do not support modes as locales, but it
should be possible to hack around that by testing whether the
specifier's value is correct in the current buffer at mode startup,
and if not setting the specifier in that buffer.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Don't ask how you can "do" free software business;
ask what your business can "do for" free software.