aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-12-01 00:50:45 +0000
committerRichard M. Stallman1998-12-01 00:50:45 +0000
commit2a48d24b3b155514c2f9c9f1cc21faef6a486240 (patch)
tree1c926afc7368942e721506ca435271da1def4250
parent5f373960a60c5f765d7877cac14dec7224deb9d8 (diff)
downloademacs-2a48d24b3b155514c2f9c9f1cc21faef6a486240.tar.gz
emacs-2a48d24b3b155514c2f9c9f1cc21faef6a486240.zip
(flyspell-check-word-p): Don't delay inside a kbd macro.
-rw-r--r--lisp/textmodes/flyspell.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index ca951ca1deb..ab6319d698e 100644
--- a/lisp/textmodes/flyspell.el
+++ b/lisp/textmodes/flyspell.el
@@ -322,7 +322,7 @@ flyspell-buffer checks the whole buffer."
322 (put 'ispell-filter-continue 'permanent-local t) 322 (put 'ispell-filter-continue 'permanent-local t)
323 (put 'ispell-process-directory 'permanent-local t) 323 (put 'ispell-process-directory 'permanent-local t)
324 (put 'ispell-parser 'permanent-local t))) 324 (put 'ispell-parser 'permanent-local t)))
325 ;; We put the `flyspel-delayed' property on some commands. 325 ;; We put the `flyspell-delayed' property on some commands.
326 (flyspell-delay-commands) 326 (flyspell-delay-commands)
327 ;; we bound flyspell action to post-command hook 327 ;; we bound flyspell action to post-command hook
328 (make-local-hook 'post-command-hook) 328 (make-local-hook 'post-command-hook)
@@ -466,6 +466,9 @@ Mostly we check word delimiters."
466 ((not (integerp flyspell-delay)) 466 ((not (integerp flyspell-delay))
467 ;; yes because the user had set up a no-delay configuration. 467 ;; yes because the user had set up a no-delay configuration.
468 t) 468 t)
469 (executing-kbd-macro
470 ;; Don't delay inside a keyboard macro.
471 t)
469 (t 472 (t
470 (if (fboundp 'about-xemacs) 473 (if (fboundp 'about-xemacs)
471 (sit-for flyspell-delay nil) 474 (sit-for flyspell-delay nil)