From: Stefan Kangas Date: Thu, 27 Aug 2020 09:58:27 +0000 (+0200) Subject: Minor clean up in flyspell.el X-Git-Tag: emacs-28.0.90~6358 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4cf5d2ebee5ac45a435c991e4c0ad12be619d26b;p=emacs.git Minor clean up in flyspell.el * lisp/textmodes/flyspell.el (flyspell-buffers): Declare obsolete. (flyspell--prev-meta-tab-binding): Doc fix. --- diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index b631b126d58..98059287210 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el @@ -398,8 +398,8 @@ like \"Some." (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 ... */