summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-06-10 21:36:29 +0000
committerRichard M. Stallman <rms@gnu.org>1996-06-10 21:36:29 +0000
commit23282dbc626d6f1f2f3c6a13ebdf14c58c92be83 (patch)
treef1c20670895b8f9aef8935e2d84dec185e692d1a
parent3af51f8144fc29281cc3af4ed4555a3492851430 (diff)
downloademacs-23282dbc626d6f1f2f3c6a13ebdf14c58c92be83.tar.gz
(hexl-mode): Run hexl-mode-hook.
-rw-r--r--lisp/hexl.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/hexl.el b/lisp/hexl.el
index 710b271701c..56f05de37cd 100644
--- a/lisp/hexl.el
+++ b/lisp/hexl.el
@@ -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)