diff options
| author | Agustín Martín | 2008-04-29 10:55:35 +0000 |
|---|---|---|
| committer | Agustín Martín | 2008-04-29 10:55:35 +0000 |
| commit | b224db386852cf13c1771e2ac81b61daca3daada (patch) | |
| tree | da5b78b188d95d85b03460f106095077ed1a0757 | |
| parent | 3e9db557b8e323d51b8d3080c9d2b04ab93f7af3 (diff) | |
| download | emacs-b224db386852cf13c1771e2ac81b61daca3daada.tar.gz emacs-b224db386852cf13c1771e2ac81b61daca3daada.zip | |
(flyspell-mode-on): Remove redundant (flyspell-mode-hook) run.
(flyspell-mode): Fix docstring in definition.
| -rw-r--r-- | lisp/textmodes/flyspell.el | 6 |
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: | |||
| 480 | \\[flyspell-correct-word] (or down-mouse-2): popup correct words. | 480 | \\[flyspell-correct-word] (or down-mouse-2): popup correct words. |
| 481 | 481 | ||
| 482 | Hooks: | 482 | Hooks: |
| 483 | This runs `flyspell-mode-hook' after flyspell is entered. | 483 | This runs `flyspell-mode-hook' after flyspell mode is entered or exit. |
| 484 | 484 | ||
| 485 | Remark: | 485 | Remark: |
| 486 | `flyspell-mode' uses `ispell-mode'. Thus all Ispell options are | 486 | `flyspell-mode' uses `ispell-mode'. Thus all Ispell options are |
| @@ -618,9 +618,7 @@ in your .emacs file. | |||
| 618 | (if binding | 618 | (if binding |
| 619 | (format "Welcome to flyspell. Use %s or Mouse-2 to correct words." | 619 | (format "Welcome to flyspell. Use %s or Mouse-2 to correct words." |
| 620 | (key-description binding)) | 620 | (key-description binding)) |
| 621 | "Welcome to flyspell. Use Mouse-2 to correct words.")))) | 621 | "Welcome to flyspell. Use Mouse-2 to correct words."))))) |
| 622 | ;; we end with the flyspell hooks | ||
| 623 | (run-hooks 'flyspell-mode-hook)) | ||
| 624 | 622 | ||
| 625 | ;;*---------------------------------------------------------------------*/ | 623 | ;;*---------------------------------------------------------------------*/ |
| 626 | ;;* flyspell-delay-commands ... */ | 624 | ;;* flyspell-delay-commands ... */ |