From: Pavel Janík Date: Mon, 26 Nov 2001 16:27:00 +0000 (+0000) Subject: (hexl-mode, hexl-follow-ascii): Remove make-local-hook. X-Git-Tag: ttn-vms-21-2-B4~18122 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fa9f58dd20986fd4872bea37fc7a6a9c36baab8b;p=emacs.git (hexl-mode, hexl-follow-ascii): Remove make-local-hook. --- 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)