>>>> "sb" == SL Baur <steve(a)xemacs.org>
writes:
sb> Adrian Aichner <aichner(a)ecf.teradyne.com> writes in
sb> xemacs-beta(a)xemacs.org:
> When I add this to site-start.el:
> (remove-hook 'font-lock-mode-hook 'turn-on-lazy-lock)
> (add-hook 'font-lock-mode-hook 'turn-on-fast-lock)
> vc-revert-buffer1 retains the fontification!
sb> The remove-hook call should be redundant. Do you have an
sb> earlier site*.el file that unconditionally turns on
sb> lazy-good-for-nothing-lock?
My site-start.el does
(load-file (locate-file "sample.emacs" (list data-directory)))
so that I find breakage and new features ASAP.
sample.emacs does
(add-hook 'font-lock-mode-hook 'turn-on-lazy-lock)
Hence the (remove-hook ...) is required in my site-start.el.
Should sample.emacs be changed if lazy-lock-mode is really
lazy-good-for-nothing-lock?
Adrian