Commit fa9f58dd authored by Pavel Janík's avatar Pavel Janík
Browse files

(hexl-mode, hexl-follow-ascii): Remove make-local-hook.

parent eac9cf5f
......@@ -254,10 +254,8 @@ You can use \\[hexl-find-file] to visit a file in Hexl mode.
(setq require-final-newline nil)
;; Add hooks to rehexlify or dehexlify on various events.
(make-local-hook 'after-revert-hook)
(add-hook 'after-revert-hook 'hexl-after-revert-hook nil t)
(make-local-hook 'change-major-mode-hook)
(add-hook 'change-major-mode-hook 'hexl-maybe-dehexlify-buffer nil t)
(if hexl-follow-ascii (hexl-follow-ascii 1)))
......@@ -835,8 +833,6 @@ Customize the variable `hexl-follow-ascii' to disable this feature."
(> (prefix-numeric-value arg) 0)
(not hexl-ascii-overlay))))
(make-local-hook 'post-command-hook)
(if on-p
;; turn it on
(if (not hexl-ascii-overlay)
......
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