]> git.eshelyaron.com Git - emacs.git/commitdiff
(flyspell-check-word-p): Don't delay inside a kbd macro.
authorRichard M. Stallman <rms@gnu.org>
Tue, 1 Dec 1998 00:50:45 +0000 (00:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 1 Dec 1998 00:50:45 +0000 (00:50 +0000)
lisp/textmodes/flyspell.el

index ca951ca1deba546963f62a08dd98572a571fd174..ab6319d698e966381b85c9231c1e03eb32b1b6cd 100644 (file)
@@ -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)