changeset 15402:46fad1457030

(hexl-mode): Run hexl-mode-hook.
author Richard M. Stallman <rms@gnu.org>
date Mon, 10 Jun 1996 21:36:29 +0000
parents 497d2d71389a
children dfcab63fbbd3
files lisp/hexl.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/hexl.el	Mon Jun 10 21:22:42 1996 +0000
+++ b/lisp/hexl.el	Mon Jun 10 21:36:29 1996 +0000
@@ -212,8 +212,8 @@
     (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)