]> git.eshelyaron.com Git - emacs.git/commitdiff
(zone-mode): Don't require zone-mode.
authorRichard M. Stallman <rms@gnu.org>
Tue, 26 May 1998 05:16:17 +0000 (05:16 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 26 May 1998 05:16:17 +0000 (05:16 +0000)
Use make-local-hook on a hook, not make-variable-buffer-local.

lisp/zone-mode.el

index 345fd22e53d5fbb6a772c99bc320540f2a371c8f..2a534d8a6d0db90f238928ae9f5755a41dec2498 100644 (file)
@@ -90,8 +90,7 @@ Zone-mode does two things:
 
        - 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)