summaryrefslogtreecommitdiff
path: root/lisp/hexl.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/hexl.el')
-rw-r--r--lisp/hexl.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/hexl.el b/lisp/hexl.el
index ee5a9c0fce2..5ba0ef5b2a8 100644
--- a/lisp/hexl.el
+++ b/lisp/hexl.el
@@ -374,6 +374,8 @@ You can use \\[hexl-find-file] to visit a file in Hexl mode.
"hexl-current-address")
(if hexl-follow-ascii (hexl-follow-ascii-mode 1)))
+ (when global-font-lock-mode
+ (font-lock-ensure))
(run-mode-hooks 'hexl-mode-hook))