Mercurial > hg > xemacs-beta
diff lisp/packages/font-lock.el @ 88:821dec489c24 r20-0
Import from CVS: tag r20-0
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:09:59 +0200 |
parents | c0c698873ce1 |
children | dbb370e3c29e |
line wrap: on
line diff
--- a/lisp/packages/font-lock.el Mon Aug 13 09:09:05 2007 +0200 +++ b/lisp/packages/font-lock.el Mon Aug 13 09:09:59 2007 +0200 @@ -554,7 +554,10 @@ (t (remove-hook 'after-change-functions 'font-lock-after-change-function t) - (remove-hook 'pre-idle-hook 'font-lock-pre-idle-hook) + ;; We have no business doing this here, since + ;; pre-idle-hook is global. Other buffers may + ;; still be in font-lock mode. -dkindred@cs.cmu.edu + ;; (remove-hook 'pre-idle-hook 'font-lock-pre-idle-hook) )) (set (make-local-variable 'font-lock-mode) on-p) (cond (on-p