changeset 41573:be1c031e600f

(hexl-mode, hexl-follow-ascii): Remove make-local-hook.
author Pavel Janík <Pavel@Janik.cz>
date Mon, 26 Nov 2001 16:27:00 +0000
parents af2fa6ebd71b
children 1b925c10d7bc
files lisp/hexl.el
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/hexl.el	Mon Nov 26 16:24:26 2001 +0000
+++ b/lisp/hexl.el	Mon Nov 26 16:27:00 2001 +0000
@@ -254,10 +254,8 @@
     (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 @@
 		  (> (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)