From b224db386852cf13c1771e2ac81b61daca3daada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20Mart=C3=ADn?= Date: Tue, 29 Apr 2008 10:55:35 +0000 Subject: (flyspell-mode-on): Remove redundant (flyspell-mode-hook) run. (flyspell-mode): Fix docstring in definition. --- lisp/textmodes/flyspell.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lisp/textmodes/flyspell.el') diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index ef7d91b3471..029bf12fe24 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el @@ -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 ... */ -- cgit v1.2.1