aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorRichard M. Stallman2005-10-10 04:03:09 +0000
committerRichard M. Stallman2005-10-10 04:03:09 +0000
commit1fb7ce77dfbd0ac5ca9bdfdc53518148ae1b4012 (patch)
tree102a965ba9c79f2b429bf313391170f1f910d058 /lisp/textmodes
parent9bab4985d9d5d99fac443f0d5a3a1dd47f28fc1a (diff)
downloademacs-1fb7ce77dfbd0ac5ca9bdfdc53518148ae1b4012.tar.gz
emacs-1fb7ce77dfbd0ac5ca9bdfdc53518148ae1b4012.zip
(flyspell-check-word-p):
If unread-command-events is non-empty, don't call sit-for.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/flyspell.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index 10d61e0852a..74c7cbc5762 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -772,7 +772,8 @@ Mostly we check word delimiters."
772 ((get this-command 'flyspell-delayed) 772 ((get this-command 'flyspell-delayed)
773 ;; the current command is not delayed, that 773 ;; the current command is not delayed, that
774 ;; is that we must check the word now 774 ;; is that we must check the word now
775 (sit-for flyspell-delay)) 775 (and (not unread-command-events)
776 (sit-for flyspell-delay)))
776 (t t))) 777 (t t)))
777 (t t))) 778 (t t)))
778 779