Commit 573de396 authored by Wilfred Hughes's avatar Wilfred Hughes Committed by Lars Ingebrigtsen

Apply font-lock in hexl-mode buffers

* lisp/hexl.el (hexl-mode): After setting font-lock-defaults, we
need to call `font-lock-ensure' to apply hexl-mode faces
(bug#24645).
parent e3b70e6b
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment