changeset 20902:117024af99ea

(hexl-mode-exit): Remove hexl-follow-ascii-find from post-command-hook when leaving hexl-mode.
author Stephen Eglen <stephen@gnu.org>
date Sun, 15 Feb 1998 16:57:16 +0000
parents 3d355fb3b30f
children ba17c544eb9e
files lisp/hexl.el
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/hexl.el	Sun Feb 15 16:45:52 1998 +0000
+++ b/lisp/hexl.el	Sun Feb 15 16:57:16 1998 +0000
@@ -302,6 +302,8 @@
 
   (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)