summaryrefslogtreecommitdiff
path: root/lisp/hexl.el
diff options
context:
space:
mode:
authorStephen Eglen <stephen@gnu.org>1998-02-15 16:57:16 +0000
committerStephen Eglen <stephen@gnu.org>1998-02-15 16:57:16 +0000
commit8e7df2e62bfdb00ce85055dbcb17ad0744c1ee73 (patch)
tree00c53976a9ebea89f807066a41ae53c7b9abce85 /lisp/hexl.el
parent3cfa0ee92f8a92958334f79f2dcba4ed35e5cc34 (diff)
downloademacs-8e7df2e62bfdb00ce85055dbcb17ad0744c1ee73.tar.gz
(hexl-mode-exit): Remove hexl-follow-ascii-find from post-command-hook
when leaving hexl-mode.
Diffstat (limited to 'lisp/hexl.el')
-rw-r--r--lisp/hexl.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/hexl.el b/lisp/hexl.el
index 40d30fdcc83..a58798e8cae 100644
--- a/lisp/hexl.el
+++ b/lisp/hexl.el
@@ -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)