]> git.eshelyaron.com Git - emacs.git/commitdiff
(flyspell-mode-on): Remove redundant (flyspell-mode-hook) run.
authorAgustín Martín <agustin.martin@hispalinux.es>
Tue, 29 Apr 2008 10:55:35 +0000 (10:55 +0000)
committerAgustín Martín <agustin.martin@hispalinux.es>
Tue, 29 Apr 2008 10:55:35 +0000 (10:55 +0000)
(flyspell-mode): Fix docstring in definition.

lisp/textmodes/flyspell.el

index ef7d91b3471f4a13ec5a1ce21a858ad45695ff38..029bf12fe24be20356fc27a87ece04bd8fe43f96 100644 (file)
@@ -480,7 +480,7 @@ Bindings:
 \\[flyspell-correct-word] (or down-mouse-2): popup correct words.
 
 Hooks:
-This runs `flyspell-mode-hook' after flyspell is entered.
+This runs `flyspell-mode-hook' after flyspell mode is entered or exit.
 
 Remark:
 `flyspell-mode' uses `ispell-mode'.  Thus all Ispell options are
@@ -618,9 +618,7 @@ in your .emacs file.
         (if binding
             (format "Welcome to flyspell. Use %s or Mouse-2 to correct words."
                     (key-description binding))
-          "Welcome to flyspell. Use Mouse-2 to correct words."))))
-  ;; we end with the flyspell hooks
-  (run-hooks 'flyspell-mode-hook))
+          "Welcome to flyspell. Use Mouse-2 to correct words.")))))
 
 ;;*---------------------------------------------------------------------*/
 ;;*    flyspell-delay-commands ...                                      */