# HG changeset patch # User Karl Heuer # Date 824937715 0 # Node ID 700c1a3ee2657ae498d5bb7689f0594f90ba4313 # Parent 00ffbbef630494ea54a6ae32377c48b65d50e0c9 Use run-with-idle-timer, not post-command-idle-hook. diff -r 00ffbbef6304 -r 700c1a3ee265 lisp/paren.el --- a/lisp/paren.el Wed Feb 21 21:21:31 1996 +0000 +++ b/lisp/paren.el Wed Feb 21 21:21:55 1996 +0000 @@ -133,15 +133,14 @@ (if window-system (progn (setq blink-matching-paren-on-screen nil) - (add-hook 'post-command-idle-hook 'show-paren-command-hook))) + (run-with-idle-timer .1 t 'show-paren-command-hook))) ;;; This is in case paren.el is preloaded. (add-hook 'window-setup-hook (function (lambda () (if window-system (progn (setq blink-matching-paren-on-screen nil) - (add-hook 'post-command-idle-hook - 'show-paren-command-hook)))))) + (run-with-idle-timer .1 t 'show-paren-command-hook)))))) (provide 'paren) ;;; paren.el ends here