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."
(if resume
(ispell-next)
(condition-case err
(catch 'ispell-quit
(save-window-excursion
(ispell-point (point) "at point."))
(ispell-dump))
(unwind-protect
(catch 'ispell-quit
(save-window-excursion
(ispell-point (point) "at point."))
(ispell-dump))
(ispell-dehighlight))
(ispell-startup-error
(cond ((y-or-n-p "Problem starting ispell, use old-style spell instead? ")
(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