summaryrefslogtreecommitdiff
path: root/lisp/hexl.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-02-27 01:49:07 +0000
committerRichard M. Stallman <rms@gnu.org>1996-02-27 01:49:07 +0000
commitd000de012dace7a806c19cbc5f927a768f6c96cf (patch)
tree7f3a93bf8f8e1707f47cd2b4f1d1c49ccda16455 /lisp/hexl.el
parent04c4081e36d6f33a5d63c8365785e45d1475a4a4 (diff)
downloademacs-d000de012dace7a806c19cbc5f927a768f6c96cf.tar.gz
(hexl-mode-exit, hexl-maybe-dehexlify-buffer):
Corrected write-contents-hook to write-contents-hooks.
Diffstat (limited to 'lisp/hexl.el')
-rw-r--r--lisp/hexl.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/hexl.el b/lisp/hexl.el
index ae071b68859..9cf768248c3 100644
--- a/lisp/hexl.el
+++ b/lisp/hexl.el
@@ -269,7 +269,7 @@ With arg, don't unhexlify buffer."
(inhibit-read-only t)
(original-point (1+ (hexl-current-address))))
(dehexlify-buffer)
- (remove-hook 'write-contents-hook 'hexl-save-buffer)
+ (remove-hook 'write-contents-hooks 'hexl-save-buffer)
(set-buffer-modified-p modified)
(goto-char original-point)))
@@ -292,7 +292,7 @@ Ask the user for confirmation."
(inhibit-read-only t)
(original-point (1+ (hexl-current-address))))
(dehexlify-buffer)
- (remove-hook 'write-contents-hook 'hexl-save-buffer)
+ (remove-hook 'write-contents-hooks 'hexl-save-buffer)
(set-buffer-modified-p modified)
(goto-char original-point))))