diff options
| -rw-r--r-- | lisp/textmodes/flyspell.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 6e78096328e..a67e48cec41 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el | |||
| @@ -744,6 +744,9 @@ before the current command." | |||
| 744 | (eq flyspell-previous-command this-command))) | 744 | (eq flyspell-previous-command this-command))) |
| 745 | (or (= (current-column) 0) | 745 | (or (= (current-column) 0) |
| 746 | (= (current-column) flyspell-pre-column) | 746 | (= (current-column) flyspell-pre-column) |
| 747 | ;; If other post-command-hooks change the buffer, | ||
| 748 | ;; flyspell-pre-point can lie past eob (bug#468). | ||
| 749 | (null (char-after flyspell-pre-point)) | ||
| 747 | (eq (char-syntax (char-after flyspell-pre-point)) ?w))) | 750 | (eq (char-syntax (char-after flyspell-pre-point)) ?w))) |
| 748 | nil) | 751 | nil) |
| 749 | ((not (eq (current-buffer) flyspell-pre-buffer)) | 752 | ((not (eq (current-buffer) flyspell-pre-buffer)) |