From: Richard M. Stallman Date: Tue, 1 Dec 1998 00:50:45 +0000 (+0000) Subject: (flyspell-check-word-p): Don't delay inside a kbd macro. X-Git-Tag: emacs-20.4~1161 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2a48d24b3b155514c2f9c9f1cc21faef6a486240;p=emacs.git (flyspell-check-word-p): Don't delay inside a kbd macro. --- 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)