1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

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

This commit is contained in:
Richard M. Stallman 1995-08-16 15:03:59 +00:00
parent 69b07ee13a
commit 0671e80b5e

View file

@ -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)) ?\))