[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/wcheck-mode 2b696d5 18/39: Revert "Use jit-lock-fontify

From: Teemu Likonen
Subject: [elpa] externals/wcheck-mode 2b696d5 18/39: Revert "Use jit-lock-fontify-now instead of font-lock-fontify-region"
Date: Sun, 4 Oct 2020 07:55:20 -0400 (EDT)

branch: externals/wcheck-mode
commit 2b696d5b9091fd1a805259765cb0e876ef00707a
Author: Teemu Likonen <tlikonen@iki.fi>
Commit: Teemu Likonen <tlikonen@iki.fi>

    Revert "Use jit-lock-fontify-now instead of font-lock-fontify-region"
    This reverts commit 2e4827b16b88635d0ffb6addef530de060e59503.
    In Emacs 25 jit-lock-fontify-now gives an error.
 wcheck-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wcheck-mode.el b/wcheck-mode.el
index 49a2d24..6b0c90f 100644
--- a/wcheck-mode.el
+++ b/wcheck-mode.el
@@ -1387,7 +1387,7 @@ areas, including invisible ones. Otherwise skip invisible 
         (when font-lock-mode
-            (jit-lock-fontify-now (min beg end) (max beg end))))
+            (font-lock-fontify-region (min beg end) (max beg end))))
             (language (wcheck--buffer-data-get :buffer buffer :language))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]