From 2a48d24b3b155514c2f9c9f1cc21faef6a486240 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 1 Dec 1998 00:50:45 +0000 Subject: [PATCH] (flyspell-check-word-p): Don't delay inside a kbd macro. --- lisp/textmodes/flyspell.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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." (put 'ispell-filter-continue 'permanent-local t) (put 'ispell-process-directory 'permanent-local t) (put 'ispell-parser 'permanent-local t))) - ;; We put the `flyspel-delayed' property on some commands. + ;; We put the `flyspell-delayed' property on some commands. (flyspell-delay-commands) ;; we bound flyspell action to post-command hook (make-local-hook 'post-command-hook) @@ -466,6 +466,9 @@ Mostly we check word delimiters." ((not (integerp flyspell-delay)) ;; yes because the user had set up a no-delay configuration. t) + (executing-kbd-macro + ;; Don't delay inside a keyboard macro. + t) (t (if (fboundp 'about-xemacs) (sit-for flyspell-delay nil) -- 2.39.2