From 9b2cf43f673d8317df86270a40320909d4e6c186 Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Sat, 8 Oct 2016 14:25:43 -0400 Subject: [PATCH] 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. --- lisp/hexl.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/hexl.el b/lisp/hexl.el index 5f099a5..519b052 100644 --- a/lisp/hexl.el +++ b/lisp/hexl.el @@ -402,6 +402,8 @@ hexl-mode "hexl-current-address") (if hexl-follow-ascii (hexl-follow-ascii 1))) + (when global-font-lock-mode + (font-lock-ensure)) (run-mode-hooks 'hexl-mode-hook)) -- 2.10.1