From 3e1198301febb30e10a4698ee7ba8c4f4441a303 Mon Sep 17 00:00:00 2001 From: John Paul Wallington Date: Fri, 9 Aug 2002 12:15:54 +0000 Subject: [PATCH] (font-lock-function): Make it buffer-local. --- lisp/ChangeLog | 4 ++++ lisp/font-core.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0ca9b76680b..e91201a16f9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2002-08-09 John Paul Wallington + + * font-core.el (font-lock-function): Make it buffer-local. + 2002-08-07 John Paul Wallington * xt-mouse.el (xterm-mouse-mode): Make it a global mode. diff --git a/lisp/font-core.el b/lisp/font-core.el index 6e3c994d61a..cf5e29d9eef 100644 --- a/lisp/font-core.el +++ b/lisp/font-core.el @@ -140,7 +140,7 @@ Major/minor modes can set this variable if they know which option applies.") "A function which is called when `font-lock-mode' is toggled. It will be passed one argument, which is the current value of `font-lock-mode'.") -(make-variable-buffer-local 'font-lock-default-function) +(make-variable-buffer-local 'font-lock-function) (define-minor-mode font-lock-mode "Toggle Font Lock mode. -- 2.39.2