]> code.delx.au - gnu-emacs-elpa/commitdiff
Use font-lock-fontify-region instead of jit-lock-fontify-now
authorTeemu Likonen <tlikonen@iki.fi>
Sat, 30 Jan 2016 18:25:29 +0000 (20:25 +0200)
committerTeemu Likonen <tlikonen@iki.fi>
Sat, 30 Jan 2016 18:25:29 +0000 (20:25 +0200)
packages/wcheck-mode/wcheck-mode.el

index bb61dd02c6988eabf90075af7dd5e57abff4bed8..5dd2df9d601596812995d8f6612cd8ae3c8ab5a8 100644 (file)
@@ -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))