emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/spell-fu 6a7440044e 19/86: Cleanup: rename variables to ma


From: ELPA Syncer
Subject: [nongnu] elpa/spell-fu 6a7440044e 19/86: Cleanup: rename variables to make the assignment explicit
Date: Thu, 7 Jul 2022 12:03:39 -0400 (EDT)

branch: elpa/spell-fu
commit 6a7440044e35cba4c908e4daaa23da214b2089b2
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Cleanup: rename variables to make the assignment explicit
---
 spell-fu.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/spell-fu.el b/spell-fu.el
index 8f1441336f..6d967d77d9 100644
--- a/spell-fu.el
+++ b/spell-fu.el
@@ -172,7 +172,7 @@ Optional argument BODY runs with the depth override."
             (funcall ,add-hook-orig hook function ,depth-override local))))
       ,@body)))
 
-(defmacro spell-fu--expand-range-to-line-boundaries (point-start point-end)
+(defmacro spell-fu--setq-expand-range-to-line-boundaries (point-start 
point-end)
   "Set POINT-START the the line beginning, POINT-END to the line end."
   (declare (indent 1))
   ;; Ignore field boundaries.
@@ -491,7 +491,7 @@ Argument FACES-EXCLUDE faces to check POS excludes or 
ignored when nil."
 
 (defun spell-fu--font-lock-fontify-region (point-start point-end)
   "Update spelling for POINT-START & POINT-END to the queue, checking all 
text."
-  (spell-fu--expand-range-to-line-boundaries point-start point-end)
+  (spell-fu--setq-expand-range-to-line-boundaries point-start point-end)
   (funcall spell-fu-check-range point-start point-end))
 
 (defun spell-fu--immediate-enable ()
@@ -543,7 +543,7 @@ range POINT-START to POINT-END. Otherwise remove all 
overlays."
                 (point-end (min visible-end (overlay-end item-ov))))
 
               ;; Expand so we don't spell check half a word.
-              (spell-fu--expand-range-to-line-boundaries point-start point-end)
+              (spell-fu--setq-expand-range-to-line-boundaries point-start 
point-end)
 
               (when
                 (condition-case err



reply via email to

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