summaryrefslogtreecommitdiff
path: root/lisp/textmodes/ispell.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-05-06 02:18:20 +0000
committerRichard M. Stallman <rms@gnu.org>1995-05-06 02:18:20 +0000
commita594e0e1211b16571e250b94c98713eeef02bc8c (patch)
tree53976fe3eb87e266d39d38be28abe62d03c228da /lisp/textmodes/ispell.el
parenta61155bcbd6f51739b4161172f08ade1bec7d40a (diff)
downloademacs-a594e0e1211b16571e250b94c98713eeef02bc8c.tar.gz
(ispell-region): If position not visible, (sit-for 0).
Diffstat (limited to 'lisp/textmodes/ispell.el')
-rw-r--r--lisp/textmodes/ispell.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 4214c667af9..0a3b3201f04 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -1774,6 +1774,8 @@ With prefix argument, set the default directory."
(concat "Ispell misalignment: word "
"`%s' point %d; please retry")
(car poss) word-start))
+ (if (not (pos-visible-in-window-p))
+ (sit-for 0))
(if ispell-keep-choices-win
(setq replace
(ispell-command-loop