summaryrefslogtreecommitdiff
path: root/lisp/textmodes/flyspell.el
diff options
context:
space:
mode:
authorAgustín Martín <agustin.martin@hispalinux.es>2008-04-29 10:55:35 +0000
committerAgustín Martín <agustin.martin@hispalinux.es>2008-04-29 10:55:35 +0000
commitb224db386852cf13c1771e2ac81b61daca3daada (patch)
treeda5b78b188d95d85b03460f106095077ed1a0757 /lisp/textmodes/flyspell.el
parent3e9db557b8e323d51b8d3080c9d2b04ab93f7af3 (diff)
downloademacs-b224db386852cf13c1771e2ac81b61daca3daada.tar.gz
(flyspell-mode-on): Remove redundant (flyspell-mode-hook) run.
(flyspell-mode): Fix docstring in definition.
Diffstat (limited to 'lisp/textmodes/flyspell.el')
-rw-r--r--lisp/textmodes/flyspell.el6
1 files changed, 2 insertions, 4 deletions
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 ... */