aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Paul Wallington2002-08-09 12:15:54 +0000
committerJohn Paul Wallington2002-08-09 12:15:54 +0000
commit3e1198301febb30e10a4698ee7ba8c4f4441a303 (patch)
tree1e727e1224bea4ee54377090dbd4a8390c987205
parentb177738e981daf38f10675d56e4df50d0bd3f227 (diff)
downloademacs-3e1198301febb30e10a4698ee7ba8c4f4441a303.tar.gz
emacs-3e1198301febb30e10a4698ee7ba8c4f4441a303.zip
(font-lock-function): Make it buffer-local.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/font-core.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0ca9b76680b..e91201a16f9 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12002-08-09 John Paul Wallington <jpw@shootybangbang.com>
2
3 * font-core.el (font-lock-function): Make it buffer-local.
4
12002-08-07 John Paul Wallington <jpw@shootybangbang.com> 52002-08-07 John Paul Wallington <jpw@shootybangbang.com>
2 6
3 * xt-mouse.el (xterm-mouse-mode): Make it a global mode. 7 * 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.")
140 "A function which is called when `font-lock-mode' is toggled. 140 "A function which is called when `font-lock-mode' is toggled.
141It will be passed one argument, which is the current value of 141It will be passed one argument, which is the current value of
142`font-lock-mode'.") 142`font-lock-mode'.")
143(make-variable-buffer-local 'font-lock-default-function) 143(make-variable-buffer-local 'font-lock-function)
144 144
145(define-minor-mode font-lock-mode 145(define-minor-mode font-lock-mode
146 "Toggle Font Lock mode. 146 "Toggle Font Lock mode.