From dc8b84506685bf6624b91e3bd7f147a09f18ad68 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 26 May 1998 05:16:17 +0000 Subject: [PATCH] (zone-mode): Don't require zone-mode. Use make-local-hook on a hook, not make-variable-buffer-local. --- lisp/zone-mode.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) -- 2.39.2