Mercurial > emacs
changeset 12871:d998327b9011
(show-paren-command-hook): Do nothing if have unread events.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 16 Aug 1995 15:03:59 +0000 |
parents | 1372454cb5e5 |
children | 857663042672 |
files | lisp/paren.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/paren.el Wed Aug 16 15:03:24 1995 +0000 +++ b/lisp/paren.el Wed Aug 16 15:03:59 1995 +0000 @@ -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)) ?\))