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

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

[nongnu] elpa/spell-fu 89b014194a 18/21: Cleanup: emacs native format (u


From: ELPA Syncer
Subject: [nongnu] elpa/spell-fu 89b014194a 18/21: Cleanup: emacs native format (update)
Date: Sat, 7 Jan 2023 07:12:29 -0500 (EST)

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

    Cleanup: emacs native format (update)
---
 spell-fu.el | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/spell-fu.el b/spell-fu.el
index 63eaf3b936..4033d49206 100644
--- a/spell-fu.el
+++ b/spell-fu.el
@@ -873,9 +873,7 @@ when checking the entire buffer for example."
    (state
     (unless spell-fu--global-timer
       (setq spell-fu--global-timer
-            (run-with-idle-timer
-             spell-fu-idle-delay
-             :repeat #'spell-fu--time-callback-or-disable))))
+            (run-with-idle-timer spell-fu-idle-delay :repeat 
#'spell-fu--time-callback-or-disable))))
    (t
     (when spell-fu--global-timer
       (cancel-timer spell-fu--global-timer)
@@ -1439,8 +1437,7 @@ Argument DICT-FILE is the absolute path to the 
dictionary."
               (word-point
                (save-match-data
                  (let ((case-fold-search t))
-                   (when (re-search-forward (concat "^" (regexp-quote word) 
"[[:blank:]]*$")
-                                            nil t)
+                   (when (re-search-forward (concat "^" (regexp-quote word) 
"[[:blank:]]*$") nil t)
                      (match-beginning 0))))))
 
           (cond



reply via email to

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