diff lisp/textmodes/flyspell.el @ 23788:764497f1c6a0

(flyspell-check-word-p): Don't delay inside a kbd macro.
author Richard M. Stallman <rms@gnu.org>
date Tue, 01 Dec 1998 00:50:45 +0000
parents b0e173658e2e
children 7555c77bc4f0
line wrap: on
line diff
--- a/lisp/textmodes/flyspell.el	Mon Nov 30 23:55:42 1998 +0000
+++ b/lisp/textmodes/flyspell.el	Tue Dec 01 00:50:45 1998 +0000
@@ -322,7 +322,7 @@
 	(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 @@
    ((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)