Commit 0671e80b authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(show-paren-command-hook): Do nothing if have unread events.

parent 69b07ee1
......@@ -45,7 +45,9 @@
;; 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 (not executing-kbd-macro) (sit-for 0 100))
(if (and window-system (not executing-kbd-macro)
(not unread-command-events)
(sit-for 0 100))
(let (pos dir mismatch (oldpos (point))
(face show-paren-face))
(cond ((eq (char-syntax (preceding-char)) ?\))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment