diff options
author | Richard M. Stallman <rms@gnu.org> | 1998-05-26 05:16:17 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1998-05-26 05:16:17 +0000 |
commit | dc8b84506685bf6624b91e3bd7f147a09f18ad68 (patch) | |
tree | a009c78592b4304f60a43136d05eae1a2fa05fc9 | |
parent | fc89daeeaf4b6ceada3750aeaff89a773b5c918c (diff) | |
download | emacs-dc8b84506685bf6624b91e3bd7f147a09f18ad68.tar.gz emacs-dc8b84506685bf6624b91e3bd7f147a09f18ad68.tar.bz2 emacs-dc8b84506685bf6624b91e3bd7f147a09f18ad68.zip |
(zone-mode): Don't require zone-mode.
Use make-local-hook on a hook, not make-variable-buffer-local.
-rw-r--r-- | lisp/zone-mode.el | 3 |
1 files changed, 1 insertions, 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) |