]> git.eshelyaron.com Git - emacs.git/commitdiff
(hexl-mode): Run hexl-mode-hook.
authorRichard M. Stallman <rms@gnu.org>
Mon, 10 Jun 1996 21:36:29 +0000 (21:36 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 10 Jun 1996 21:36:29 +0000 (21:36 +0000)
lisp/hexl.el

index 710b271701c43f970b43094c2a7f7664b2207d8c..56f05de37cd75afb5c085ca8782e8c5363ff92e1 100644 (file)
@@ -212,8 +212,8 @@ You can use \\[hexl-find-file] to visit a file in hexl-mode.
     (add-hook 'after-revert-hook 'hexl-after-revert-hook nil t)
 
     (make-local-hook 'change-major-mode-hook)
-    (add-hook 'change-major-mode-hook 'hexl-maybe-dehexlify-buffer nil t)
-))
+    (add-hook 'change-major-mode-hook 'hexl-maybe-dehexlify-buffer nil t))
+  (run-hooks 'hexl-mode-hook))
 
 (defun hexl-after-revert-hook ()
   (hexlify-buffer)