]> git.eshelyaron.com Git - emacs.git/commitdiff
(show-paren-command-hook): Do nothing when in kbd macro.
authorRichard M. Stallman <rms@gnu.org>
Mon, 17 Jan 1994 22:43:40 +0000 (22:43 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 17 Jan 1994 22:43:40 +0000 (22:43 +0000)
lisp/paren.el

index c4e5bceb4d617c8537b93a8650921c09d12b8a10..14d2d0c5b0da9d564c6f2bca50e260081a2d98dd 100644 (file)
@@ -43,8 +43,9 @@
 ;; and show it until input arrives.
 (defun show-paren-command-hook ()
   ;; Do nothing if no window system to display results with.
+  ;; Do nothing if executing keyboard macro.
   ;; Do nothing if input is pending.
-  (if (and window-system (sit-for 0))
+  (if (and window-system (not executing-kbd-macro) (sit-for 0))
       (let (pos dir mismatch (oldpos (point))
                (face show-paren-face))
        (cond ((eq (char-syntax (following-char)) ?\()