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

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

[nongnu] elpa/spell-fu ad139f6fac 40/86: Cleanup: quiet checkdoc warning


From: ELPA Syncer
Subject: [nongnu] elpa/spell-fu ad139f6fac 40/86: Cleanup: quiet checkdoc warning
Date: Thu, 7 Jul 2022 12:03:41 -0400 (EDT)

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

    Cleanup: quiet checkdoc warning
---
 spell-fu.el | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/spell-fu.el b/spell-fu.el
index de09b77345..a5547242f6 100644
--- a/spell-fu.el
+++ b/spell-fu.el
@@ -65,6 +65,10 @@
 ;; ---------------------------------------------------------------------------
 ;; Custom Variables
 
+(defgroup spell-fu nil
+  "Fast, configurable spell checking of visible text, updated on a timer."
+  :group 'ispell)
+
 (defcustom spell-fu-directory (locate-user-emacs-file "spell-fu" 
".emacs-spell-fu")
   "The directory to store undo data."
   :group 'spell-fu
@@ -102,7 +106,7 @@ Set to 0.0 to highlight immediately (as part of syntax 
highlighting)."
 ;;   ^^^^^  ^^^^
 ;;
 (defvar-local spell-fu-word-regexp 
"\\b\\([[:alpha:]][[:alpha:]]*\\('[[:alpha:]]*\\)?\\)\\b"
-  "The regular expression used to scan for words to check (used by 
`spell-fu-check-range').")
+  "Regex used to scan for words to check (used by `spell-fu-check-range').")
 
 (defvar-local spell-fu-faces-include nil
   "List of faces to check or nil to include all (used by 
`spell-fu-check-range').")
@@ -111,7 +115,7 @@ Set to 0.0 to highlight immediately (as part of syntax 
highlighting)."
   "List of faces to check or nil to exclude none (used by 
`spell-fu-check-range').")
 
 (defvar-local spell-fu-check-range 'spell-fu-check-range-default
-  "Function that takes a beginning and end points to check for the current 
buffer.
+  "Function that takes a beginning & end points to check for the current 
buffer.
 
 Users may want to write their own functions to have more control
 over which words are being checked.
@@ -984,7 +988,8 @@ Return t when the word is removed."
 
 ;;;###autoload
 (define-minor-mode spell-fu-mode
-  "Toggle `spell-fu-mode' in the current buffer."
+  "Toggle variable `spell-fu-mode' in the current buffer."
+  :group 'spell-fu
   :global nil
 
   (cond



reply via email to

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