(flyspell-check-word-p):

If unread-command-events is non-empty, don't call sit-for.
This commit is contained in:
Richard M. Stallman 2005-10-10 04:03:09 +00:00
parent 9bab4985d9
commit 1fb7ce77df
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-10-10 Kenichi Handa <handa@m17n.org>
* textmodes/flyspell.el (flyspell-check-word-p):
If unread-command-events is non-empty, don't call sit-for.
2005-10-09 Richard M. Stallman <rms@gnu.org>
* font-lock.el (font-lock-syntactic-keywords)

View file

@ -772,7 +772,8 @@ Mostly we check word delimiters."
((get this-command 'flyspell-delayed)
;; the current command is not delayed, that
;; is that we must check the word now
(sit-for flyspell-delay))
(and (not unread-command-events)
(sit-for flyspell-delay)))
(t t)))
(t t)))