Commit 5d2ece3c authored by Chong Yidong's avatar Chong Yidong
Browse files

* flyspell.el (flyspell-word): Fix char offset for forged Ispell output.

Fixes: debbugs:7904
parent 38bb2ca8
2011-10-29 Chong Yidong <>
* textmodes/flyspell.el (flyspell-word): Fix char offset for
forged Ispell output (Bug#7904).
* emacs-lisp/package.el (package-refresh-contents): Add autoload.
2011-10-28 Stefan Monnier <>
......@@ -1121,7 +1121,7 @@ misspelling and skips redundant spell-checking step."
(setq poss (ispell-parse-output (car ispell-filter)))))
;; Else, this was a known misspelling to begin with, and
;; we should forge an ispell return value.
(setq poss (list word 0 '() '())))
(setq poss (list word 1 nil nil)))
(let ((res (cond ((eq poss t)
;; correct
(setq flyspell-word-cache-result t)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment