;;; cheat-font-lock.el --- modify font-lock-keywords
-;;; Copyright (C) 2002, 2003, 2004, 2005-2018
+;;; Copyright (C) 2002, 2003, 2004, 2005-2020
;;; HIRAOKA Kazuyuki <khi@users.osdn.me>
-;;; $Id: cheat-font-lock.el,v 1.24 2011-12-31 15:07:28 hira Exp $
;;;
;;; This program is free software; you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
(font-lock-set-defaults))
(defun cheat-font-lock-fontify (&optional dummy)
- (font-lock-fontify-buffer))
+ (if (fboundp 'font-lock-ensure)
+ (font-lock-ensure)
+ (with-no-warnings
+ (font-lock-fontify-buffer))))
(provide 'cheat-font-lock)