Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
5d2ece3c
Commit
5d2ece3c
authored
Oct 29, 2011
by
Chong Yidong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* flyspell.el (flyspell-word): Fix char offset for forged Ispell output.
Fixes: debbugs:7904
parent
38bb2ca8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/textmodes/flyspell.el
lisp/textmodes/flyspell.el
+1
-1
No files found.
lisp/ChangeLog
View file @
5d2ece3c
2011-10-29 Chong Yidong <cyd@gnu.org>
* 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 <monnier@iro.umontreal.ca>
...
...
lisp/textmodes/flyspell.el
View file @
5d2ece3c
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment