]> git.eshelyaron.com Git - emacs.git/commitdiff
Minor clean up in flyspell.el
authorStefan Kangas <stefankangas@gmail.com>
Thu, 27 Aug 2020 09:58:27 +0000 (11:58 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Thu, 27 Aug 2020 10:01:52 +0000 (12:01 +0200)
* lisp/textmodes/flyspell.el (flyspell-buffers): Declare obsolete.
(flyspell--prev-meta-tab-binding): Doc fix.

lisp/textmodes/flyspell.el

index b631b126d5841f876797c491a6edf2d083585763..98059287210a09d9f4346b2810e67a3e6217d684 100644 (file)
@@ -398,8 +398,8 @@ like <img alt=\"Some thing.\">."
     (let ((f (get-text-property (1- (point)) 'face)))
       (memq f flyspell-prog-text-faces))))
 
-;; Records the binding of M-TAB in effect before flyspell was activated.
-(defvar flyspell--prev-meta-tab-binding)
+(defvar flyspell--prev-meta-tab-binding nil
+  "Records the binding of M-TAB in effect before flyspell was activated.")
 
 ;;;###autoload
 (defun flyspell-prog-mode ()
@@ -550,12 +550,9 @@ in your init file.
 
 (custom-add-option 'text-mode-hook 'turn-on-flyspell)
 
-;;*---------------------------------------------------------------------*/
-;;*    flyspell-buffers ...                                             */
-;;*    -------------------------------------------------------------    */
-;;*    For remembering buffers running flyspell                         */
-;;*---------------------------------------------------------------------*/
-(defvar flyspell-buffers nil)
+(defvar flyspell-buffers nil
+  "For remembering buffers running flyspell")
+(make-obsolete-variable 'flyspell-buffers "not used." "28.1")
 
 ;;*---------------------------------------------------------------------*/
 ;;*    flyspell-minibuffer-p ...                                        */