[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/spell-fu 3230ff96f1 65/86: Cleanup: modified word ordering
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/spell-fu 3230ff96f1 65/86: Cleanup: modified word ordering |
Date: |
Thu, 7 Jul 2022 12:03:44 -0400 (EDT) |
branch: elpa/spell-fu
commit 3230ff96f18c634e21f6b566c500ebbc277176d1
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>
Cleanup: modified word ordering
---
spell-fu.el | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/spell-fu.el b/spell-fu.el
index c27d3a778c..764a8b3483 100644
--- a/spell-fu.el
+++ b/spell-fu.el
@@ -541,7 +541,7 @@ the caller will need to regenerate the cache."
;; ---------------------------------------------------------------------------
;; Shared Functions
-(defun spell-fu--remove-overlays (&optional point-start point-end)
+(defun spell-fu--overlays-remove (&optional point-start point-end)
"Remove symbol `spell-fu-mode' overlays from current buffer.
If optional arguments POINT-START and POINT-END exist
remove overlays from range POINT-START to POINT-END.
@@ -599,7 +599,7 @@ Argument POINT-END the end position of WORD."
"Check spelling for POINT-START & POINT-END.
This only checks the text matching face rules."
- (spell-fu--remove-overlays point-start point-end)
+ (spell-fu--overlays-remove point-start point-end)
(with-syntax-table spell-fu-syntax-table
(save-match-data ;; For regex search.
(save-excursion ;; For moving the point.
@@ -659,7 +659,7 @@ This only checks the text matching face rules."
(defun spell-fu--check-range-without-faces (point-start point-end)
"Check spelling for POINT-START & POINT-END, checking all text."
- (spell-fu--remove-overlays point-start point-end)
+ (spell-fu--overlays-remove point-start point-end)
(with-syntax-table spell-fu-syntax-table
(save-match-data
(save-excursion
@@ -702,13 +702,13 @@ This only checks the text matching face rules."
(defun spell-fu--immediate-disable ()
"Disable immediate spell checking."
(jit-lock-unregister #'spell-fu--font-lock-fontify-region)
- (spell-fu--remove-overlays))
+ (spell-fu--overlays-remove))
;; ---------------------------------------------------------------------------
;; Timer Style (spell-fu-idle-delay over zero)
-(defun spell-fu--idle-remove-overlays (&optional point-start point-end)
+(defun spell-fu--idle-overlays-remove (&optional point-start point-end)
"Remove `spell-fu-pending' overlays from current buffer.
If optional arguments POINT-START and POINT-END exist
remove overlays from range POINT-START to POINT-END.
@@ -760,7 +760,7 @@ when checking the entire buffer for example."
;; avoid this because it's possible `spell-fu-check-range' is
interrupted.
;; Allowing interrupting is important, so users may set this to
a slower function
;; which doesn't lock up Emacs as this is run from an idle timer.
- (spell-fu--idle-remove-overlays point-start point-end))))))))
+ (spell-fu--idle-overlays-remove point-start point-end))))))))
(defun spell-fu--idle-handle-pending-ranges ()
"Spell check the on-screen overlay ranges."
@@ -889,8 +889,8 @@ when checking the entire buffer for example."
(defun spell-fu--idle-disable ()
"Disable the idle style of updating."
(jit-lock-unregister #'spell-fu--idle-font-lock-region-pending)
- (spell-fu--remove-overlays)
- (spell-fu--idle-remove-overlays)
+ (spell-fu--overlays-remove)
+ (spell-fu--idle-overlays-remove)
(spell-fu--time-buffer-local-disable))
;; ---------------------------------------------------------------------------
@@ -1021,8 +1021,8 @@ Return t when found, otherwise nil."
(when (eq cache-table (bound-and-true-p spell-fu--cache-table))
;; For now simply clear syntax highlighting.
(unless (<= spell-fu-idle-delay 0.0)
- (spell-fu--idle-remove-overlays))
- (spell-fu--remove-overlays)
+ (spell-fu--idle-overlays-remove))
+ (spell-fu--overlays-remove)
(font-lock-flush))))))
(defun spell-fu--word-add-or-remove (word words-file action)
- [nongnu] elpa/spell-fu 7c2542e109 73/86: Merge branch 'multiple-dictionaries' into 'master', (continued)
- [nongnu] elpa/spell-fu 7c2542e109 73/86: Merge branch 'multiple-dictionaries' into 'master', ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 50be652a6e 77/86: Fix overlay faces masking other faces (when checking faces-at-point), ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu cbe5cd84c3 86/86: Correct URL, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 41a7ebcbab 23/86: Cleanup: replace cl-letf with advice macro, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 251e63eacc 29/86: readme: update, clarify TODO, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu ad139f6fac 40/86: Cleanup: quiet checkdoc warning, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 2caa9fc6f0 44/86: Update changelog, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu f38bebefea 62/86: Cleanup: replace 'if' with 'cond', ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 9587fa4b99 17/86: Add missing args (quiet checkdoc warnings), ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 484b6bdf04 53/86: Fix disabling spell-fu-mode stopping the idle timer in other buffers, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 3230ff96f1 65/86: Cleanup: modified word ordering,
ELPA Syncer <=
- [nongnu] elpa/spell-fu 96f72c35b1 38/86: Update spell-fu.el, correct package url., ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu ac9c1581c8 45/86: readme: move details into top level section, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 646f40ba06 54/86: Cleanup: use 'when' instead of 'if', ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu d4e3deedee 56/86: Have a better excludes list for org-mode. In particular `org-src`., ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 4e7ad5c5ef 61/86: Cleanup: docstrings, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu a17b2f90ae 70/86: Re-order definitions, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu e7cfe54d4e 75/86: changelog: note that multiple dictionaries are now supported, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu e94d01cdc8 35/86: Fix for attempting to use wave style in the terminal, ELPA Syncer, 2022/07/07
- [nongnu] elpa/spell-fu 8185467b24 82/86: Cleanup: remove redundant 'format', ELPA Syncer, 2022/07/07