summaryrefslogtreecommitdiff
path: root/lisp/hexl.el
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2001-11-26 16:27:00 +0000
committerPavel Janík <Pavel@Janik.cz>2001-11-26 16:27:00 +0000
commitfa9f58dd20986fd4872bea37fc7a6a9c36baab8b (patch)
tree3ca37ef1c194d2177cba7f189d66476f17756faf /lisp/hexl.el
parenteac9cf5f89e4ea470e06332f7266fa1e60a5154c (diff)
downloademacs-fa9f58dd20986fd4872bea37fc7a6a9c36baab8b.tar.gz
(hexl-mode, hexl-follow-ascii): Remove make-local-hook.
Diffstat (limited to 'lisp/hexl.el')
-rw-r--r--lisp/hexl.el4
1 files changed, 0 insertions, 4 deletions
diff --git a/lisp/hexl.el b/lisp/hexl.el
index 8883338a2e0..6a4408e4d4e 100644
--- a/lisp/hexl.el
+++ b/lisp/hexl.el
@@ -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)