# HG changeset patch # User Agustin Martin # Date 1209466535 0 # Node ID 9e177181ff37e7f0f63085a1f2a9dcb5855992a8 # Parent 377add9b3eb4c9479e9ad19a0cdbf10c94c4c083 (flyspell-mode-on): Remove redundant (flyspell-mode-hook) run. (flyspell-mode): Fix docstring in definition. diff -r 377add9b3eb4 -r 9e177181ff37 lisp/textmodes/flyspell.el --- a/lisp/textmodes/flyspell.el Tue Apr 29 07:11:36 2008 +0000 +++ b/lisp/textmodes/flyspell.el Tue Apr 29 10:55:35 2008 +0000 @@ -480,7 +480,7 @@ \\[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 @@ (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 ... */