]> git.eshelyaron.com Git - emacs.git/commitdiff
(hexl-mode-exit, hexl-maybe-dehexlify-buffer):
authorRichard M. Stallman <rms@gnu.org>
Tue, 27 Feb 1996 01:49:07 +0000 (01:49 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 27 Feb 1996 01:49:07 +0000 (01:49 +0000)
Corrected write-contents-hook to write-contents-hooks.

lisp/hexl.el

index ae071b688594670a280741d253f563ff9bc9ff26..9cf768248c3334348394e930642205d4613e0e53 100644 (file)
@@ -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))))