diff options
| author | Glenn Morris | 2010-10-23 14:58:18 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-10-23 14:58:18 -0700 |
| commit | 7dfc15df2f3caa07932cf78ba9dcd93c7c5c5040 (patch) | |
| tree | 802af32e437b83e5d9e6d9aae652be0a3e5869c7 | |
| parent | e1fd756baecd8264caf0d68a041c1aa343ea2cb3 (diff) | |
| download | emacs-7dfc15df2f3caa07932cf78ba9dcd93c7c5c5040.tar.gz emacs-7dfc15df2f3caa07932cf78ba9dcd93c7c5c5040.zip | |
* lisp/textmodes/flyspell.el (flyspell-mode): If there was an error,
say what it was.
Otherwise someone is going to report the same meaningless bug for the
rest of time.
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5574
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5576
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7272
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/textmodes/flyspell.el | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 07350947106..6bb57872a61 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-10-23 Glenn Morris <rgm@gnu.org> | 1 | 2010-10-23 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * textmodes/flyspell.el (flyspell-mode): If there was an error, | ||
| 4 | say what it was. | ||
| 5 | |||
| 3 | * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows): | 6 | * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows): |
| 4 | Sync docs with C version. | 7 | Sync docs with C version. |
| 5 | 8 | ||
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 8a73a0f818e..e449984043c 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el | |||
| @@ -494,9 +494,9 @@ in your .emacs file. | |||
| 494 | :keymap flyspell-mode-map | 494 | :keymap flyspell-mode-map |
| 495 | :group 'flyspell | 495 | :group 'flyspell |
| 496 | (if flyspell-mode | 496 | (if flyspell-mode |
| 497 | (condition-case () | 497 | (condition-case err |
| 498 | (flyspell-mode-on) | 498 | (flyspell-mode-on) |
| 499 | (error (message "Enabling Flyspell mode gave an error") | 499 | (error (message "Error enabling Flyspell mode:\n%s" (cdr err)) |
| 500 | (flyspell-mode -1))) | 500 | (flyspell-mode -1))) |
| 501 | (flyspell-mode-off))) | 501 | (flyspell-mode-off))) |
| 502 | 502 | ||
| @@ -2354,5 +2354,4 @@ This function is meant to be added to `flyspell-incorrect-hook'." | |||
| 2354 | 2354 | ||
| 2355 | (provide 'flyspell) | 2355 | (provide 'flyspell) |
| 2356 | 2356 | ||
| 2357 | ;; arch-tag: 05d915b9-e9cf-44fb-9137-fc28f5eaab2a | ||
| 2358 | ;;; flyspell.el ends here | 2357 | ;;; flyspell.el ends here |