# HG changeset patch # User Oleksandr Gavenko # Date 1490821985 -10800 # Node ID 7965eec193423c57cffe19be4b55f69e688c01f5 # Parent 29677daeb8abc1ba311fefce4dc6dadf890b8f0a Fix: Warning: "font-lock-fontify-buffer" is for interactive use only; use font-lock-ensure or font-lock-flush instead. diff -r 29677daeb8ab -r 7965eec19342 log4-hi-mode.el --- a/log4-hi-mode.el Wed Mar 29 23:55:10 2017 +0300 +++ b/log4-hi-mode.el Thu Mar 30 00:13:05 2017 +0300 @@ -57,7 +57,7 @@ (font-lock-remove-keywords nil log4-hi-keywords) (font-lock-remove-keywords nil log4-hi-time-keywords) (font-lock-remove-keywords nil log4-hi-func-keywords)) - (font-lock-fontify-buffer)) + (font-lock-flush)) (provide 'log4-hi-mode)