]> git.eshelyaron.com Git - emacs.git/commitdiff
(hexl-mode-exit): Remove hexl-follow-ascii-find from post-command-hook
authorStephen Eglen <stephen@gnu.org>
Sun, 15 Feb 1998 16:57:16 +0000 (16:57 +0000)
committerStephen Eglen <stephen@gnu.org>
Sun, 15 Feb 1998 16:57:16 +0000 (16:57 +0000)
when leaving hexl-mode.

lisp/hexl.el

index 40d30fdcc8313464b8e972cef529c0aea0078b3b..a58798e8cae7e44eaa6c039d6e430c456f6aa812 100644 (file)
@@ -302,6 +302,8 @@ With arg, don't unhexlify buffer."
 
   (remove-hook 'after-revert-hook 'hexl-after-revert-hook t)
   (remove-hook 'change-major-mode-hook 'hexl-maybe-dehexlify-buffer t)
+  (remove-hook 'post-command-hook 'hexl-follow-ascii-find t)
+  (setq hexl-ascii-overlay nil)
 
   (setq write-contents-hooks hexl-mode-old-write-contents-hooks)
   (setq require-final-newline hexl-mode-old-require-final-newline)