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

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

[nongnu] elpa/spell-fu 4e7ad5c5ef 61/86: Cleanup: docstrings


From: ELPA Syncer
Subject: [nongnu] elpa/spell-fu 4e7ad5c5ef 61/86: Cleanup: docstrings
Date: Thu, 7 Jul 2022 12:03:43 -0400 (EDT)

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

    Cleanup: docstrings
---
 spell-fu.el | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/spell-fu.el b/spell-fu.el
index bb8a845cbe..7f2ac7fb8b 100644
--- a/spell-fu.el
+++ b/spell-fu.el
@@ -198,10 +198,10 @@ Notes:
 (defun spell-fu--aspell-lang-from-dict (dict)
   "Return the language of a DICT or nil if identification fails.
 
-Supports aspell alias dictionaries, e.g. 'german' or 'deutsch'
-for 'de_DE' using Ispell's lookup routines. The language is
-identified by looking for the data file associated with the
-dictionary."
+Supports aspell alias dictionaries, e.g. 'german' or 'deutsch',
+for 'de_DE' using Ispell's lookup routines.
+The language is identified by looking for the data file
+associated with the dictionary."
   (unless ispell-aspell-dictionary-alist
     (ispell-find-aspell-dictionaries))
   (let ((dict-name (cadr (nth 5 (assoc dict ispell-aspell-dictionary-alist)))))
@@ -539,8 +539,9 @@ the caller will need to regenerate the cache."
 
 (defun spell-fu--remove-overlays (&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. Otherwise remove all overlays."
+If optional arguments POINT-START and POINT-END exist
+remove overlays from range POINT-START to POINT-END.
+Otherwise remove all overlays."
   (remove-overlays point-start point-end 'spell-fu-mode t))
 
 (defun spell-fu-mark-incorrect (point-start point-end)
@@ -703,8 +704,9 @@ This only checks the text matching face rules."
 
 (defun spell-fu--idle-remove-overlays (&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. Otherwise remove all overlays."
+If optional arguments POINT-START and POINT-END exist
+remove overlays from range POINT-START to POINT-END.
+Otherwise remove all overlays."
   (remove-overlays point-start point-end 'spell-fu-pending t))
 
 (defun spell-fu--idle-handle-pending-ranges-impl (visible-start visible-end)
@@ -844,7 +846,7 @@ when checking the entire buffer for example."
         (setq spell-fu--global-timer nil)))))
 
 (defun spell-fu--time-reset ()
-  "Run this when the buffer changes."
+  "Run this when the buffer was changed."
   ;; Ensure changing windows doesn't leave other buffers with stale highlight.
   (cond
     ((bound-and-true-p spell-fu-mode)



reply via email to

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