[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/spell-fu d0e67cdb25 06/21: When using jit-lock-stealth, en
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/spell-fu d0e67cdb25 06/21: When using jit-lock-stealth, ensure words out of the view are checked |
Date: |
Sat, 7 Jan 2023 07:12:28 -0500 (EST) |
branch: elpa/spell-fu
commit d0e67cdb252585a11c2b979629fc17159a90fd9b
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
When using jit-lock-stealth, ensure words out of the view are checked
---
changelog.rst | 2 ++
spell-fu.el | 7 ++++++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/changelog.rst b/changelog.rst
index 7cdcd7e609..0fe619a7c5 100644
--- a/changelog.rst
+++ b/changelog.rst
@@ -4,6 +4,8 @@ Change Log
##########
- In development.
+ - Stealthy font locking now checks words even when outside the view,
+ so stealthy font locking ensures words are checked.
- Fix #13, failure to properly generate word-list cache on MS-Windows.
- Support buffer local word-lists via ``spell-fu-buffer-session-localwords``.
- Fix faces of overlays (such as ``hl-line-mode``) no longer mask other
faces when selecting words to check.
diff --git a/spell-fu.el b/spell-fu.el
index ac3a076cf1..b937046ae5 100644
--- a/spell-fu.el
+++ b/spell-fu.el
@@ -772,7 +772,12 @@ when checking the entire buffer for example."
(overlay-put item-ov 'spell-fu-pending t)
(overlay-put item-ov 'evaporate 't)
- (setq spell-fu--idle-overlay-last item-ov)))))
+ (setq spell-fu--idle-overlay-last item-ov))))
+
+ ;; Use `inhibit-quit' as a way to check if `jit-lock-stealth' is in use.
+ (when inhibit-quit
+ (spell-fu--idle-handle-pending-ranges-impl pos-beg pos-end)))
+
;; ---------------------------------------------------------------------------
;; Internal Timer Management
- [nongnu] elpa/spell-fu updated (cbe5cd84c3 -> 3caf7047ea), ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu 83890ae6d3 01/21: Cleanup: quiet quote warnings, ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu ed504863f5 05/21: Fix #13: Every word marked as incorrect on MS-Windows, ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu 219bc124a6 14/21: Cleanup: use private convention for mode management functions, ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu df9abe16e2 02/21: Cleanup: sharp-quote function, ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu 57a678a3c4 07/21: Cleanup: sharp-quote function, ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu f62b6d3770 12/21: Cleanup: doc-string length, ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu be719051a6 13/21: readme: note when reset may be needed, ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu f0d49dcc5a 16/21: Cleanup: emacs native format, ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu d0e67cdb25 06/21: When using jit-lock-stealth, ensure words out of the view are checked,
ELPA Syncer <=
- [nongnu] elpa/spell-fu 341575b1d0 10/21: Adding spell-fu-debug variable & spell-fu-reset command, ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu bddea99f9c 17/21: Fix #36: byte compilation error with Emacs 28.2, ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu 68d33508ef 04/21: Add support for buffer local word-lists, ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu b89bfe035d 20/21: Cleanup: correct typo in description, ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu 0dc0568186 11/21: Update doc-string and readme for spell-fu-faces-exclude, ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu 8412ba02df 03/21: Cleanup: use `zerop`, ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu 95e005969d 09/21: Cleanup: replace 'if' with 'cond', ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu 635c5c2eed 19/21: Cleanup: sharp-quote function, ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu 38f4a4a275 08/21: Fix #31: Failure to detect updated symlinked dictionaries, ELPA Syncer, 2023/01/07
- [nongnu] elpa/spell-fu 89b014194a 18/21: Cleanup: emacs native format (update), ELPA Syncer, 2023/01/07