mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
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).
This commit is contained in:
parent
e3b70e6b2d
commit
573de396f0
1 changed files with 2 additions and 0 deletions
|
|
@ -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))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue