From: Teemu Likonen Date: Sat, 30 Jan 2016 18:25:29 +0000 (+0200) Subject: Use font-lock-fontify-region instead of jit-lock-fontify-now X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/19862ffff8dbb3ae212c7d3b812d8d724729efe1 Use font-lock-fontify-region instead of jit-lock-fontify-now --- diff --git a/packages/wcheck-mode/wcheck-mode.el b/packages/wcheck-mode/wcheck-mode.el index bb61dd02c..5dd2df9d6 100644 --- a/packages/wcheck-mode/wcheck-mode.el +++ b/packages/wcheck-mode/wcheck-mode.el @@ -7,7 +7,7 @@ ;; Created: 2009-07-04 ;; URL: https://github.com/tlikonen/wcheck-mode ;; Keywords: text spell check languages ispell -;; Version: 2016.1.5 +;; Version: 2016.1.30 ;; 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 @@ -1388,7 +1388,7 @@ areas, including invisible ones. Otherwise skip invisible text." (when font-lock-mode (save-excursion - (jit-lock-fontify-now (min beg end) (max beg end)))) + (font-lock-fontify-region (min beg end) (max beg end)))) (wcheck--with-language-data (language (wcheck--buffer-data-get :buffer buffer :language))