From: Richard M. Stallman Date: Tue, 26 May 1998 05:16:17 +0000 (+0000) Subject: (zone-mode): Don't require zone-mode. X-Git-Tag: emacs-20.3~829 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dc8b84506685bf6624b91e3bd7f147a09f18ad68;p=emacs.git (zone-mode): Don't require zone-mode. Use make-local-hook on a hook, not make-variable-buffer-local. --- diff --git a/lisp/zone-mode.el b/lisp/zone-mode.el index 345fd22e53d..2a534d8a6d0 100644 --- a/lisp/zone-mode.el +++ b/lisp/zone-mode.el @@ -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)