diff options
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/textmodes/flyspell.el | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d2f1ee6d87f..340ca33231f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2011-10-29 Chong Yidong <cyd@gnu.org> | 1 | 2011-10-29 Chong Yidong <cyd@gnu.org> |
| 2 | 2 | ||
| 3 | * textmodes/flyspell.el (flyspell-word): Fix char offset for | ||
| 4 | forged Ispell output (Bug#7904). | ||
| 5 | |||
| 3 | * emacs-lisp/package.el (package-refresh-contents): Add autoload. | 6 | * emacs-lisp/package.el (package-refresh-contents): Add autoload. |
| 4 | 7 | ||
| 5 | 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca> | 8 | 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca> |
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 4a57d00d702..a5099311307 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el | |||
| @@ -1121,7 +1121,7 @@ misspelling and skips redundant spell-checking step." | |||
| 1121 | (setq poss (ispell-parse-output (car ispell-filter))))) | 1121 | (setq poss (ispell-parse-output (car ispell-filter))))) |
| 1122 | ;; Else, this was a known misspelling to begin with, and | 1122 | ;; Else, this was a known misspelling to begin with, and |
| 1123 | ;; we should forge an ispell return value. | 1123 | ;; we should forge an ispell return value. |
| 1124 | (setq poss (list word 0 '() '()))) | 1124 | (setq poss (list word 1 nil nil))) |
| 1125 | (let ((res (cond ((eq poss t) | 1125 | (let ((res (cond ((eq poss t) |
| 1126 | ;; correct | 1126 | ;; correct |
| 1127 | (setq flyspell-word-cache-result t) | 1127 | (setq flyspell-word-cache-result t) |