Commit dc8b8450 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(zone-mode): Don't require zone-mode.

Use make-local-hook on a hook, not make-variable-buffer-local.
parent fc89daee
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment