Mercurial > hg > xemacs-beta
diff lisp/packages/font-lock.el @ 16:0293115a14e9 r19-15b91
Import from CVS: tag r19-15b91
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:49:20 +0200 |
parents | 49a24b4fd526 |
children | 859a2309aef8 |
line wrap: on
line diff
--- a/lisp/packages/font-lock.el Mon Aug 13 08:48:43 2007 +0200 +++ b/lisp/packages/font-lock.el Mon Aug 13 08:49:20 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