changeset 22248:70d9ba94ce39

(zone-mode): Don't require zone-mode. Use make-local-hook on a hook, not make-variable-buffer-local.
author Richard M. Stallman <rms@gnu.org>
date Tue, 26 May 1998 05:16:17 +0000
parents 7db7ffb27feb
children 9a8adf8f1efa
files lisp/zone-mode.el
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/zone-mode.el	Tue May 26 05:14:52 1998 +0000
+++ b/lisp/zone-mode.el	Tue May 26 05:16:17 1998 +0000
@@ -90,8 +90,7 @@
 
 	- fontification"
 
-  (require 'zone-mode)
-  (make-variable-buffer-local 'write-file-hooks)
+  (make-local-hook 'write-file-hooks)
   (add-hook 'write-file-hooks 'zone-mode-update-serial-hook)
 
   (if (null zone-mode-syntax-table)