Commit 4638b806 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(ispell-word): Call ispell-dehighlight.

parent 9700caaf
...@@ -370,10 +370,12 @@ With a prefix argument, resume handling of the previous Ispell command." ...@@ -370,10 +370,12 @@ With a prefix argument, resume handling of the previous Ispell command."
(if resume (if resume
(ispell-next) (ispell-next)
(condition-case err (condition-case err
(catch 'ispell-quit (unwind-protect
(save-window-excursion (catch 'ispell-quit
(ispell-point (point) "at point.")) (save-window-excursion
(ispell-dump)) (ispell-point (point) "at point."))
(ispell-dump))
(ispell-dehighlight))
(ispell-startup-error (ispell-startup-error
(cond ((y-or-n-p "Problem starting ispell, use old-style spell instead? ") (cond ((y-or-n-p "Problem starting ispell, use old-style spell instead? ")
(load-library "spell") (load-library "spell")
......
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