changeset 14693:db61bfe289aa

(hexl-mode-exit, hexl-maybe-dehexlify-buffer): Corrected write-contents-hook to write-contents-hooks.
author Richard M. Stallman <rms@gnu.org>
date Tue, 27 Feb 1996 01:49:07 +0000
parents e93656946a8c
children 41de9b2640a1
files lisp/hexl.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/hexl.el	Tue Feb 27 01:16:35 1996 +0000
+++ b/lisp/hexl.el	Tue Feb 27 01:49:07 1996 +0000
@@ -269,7 +269,7 @@
 	    (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 @@
 	    (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))))