From: Karl Heuer Date: Wed, 21 Feb 1996 21:21:55 +0000 (+0000) Subject: Use run-with-idle-timer, not post-command-idle-hook. X-Git-Tag: emacs-19.34~1236 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=44bea10aefe0ac434e07aced765d7573db1cce08;p=emacs.git Use run-with-idle-timer, not post-command-idle-hook. --- diff --git a/lisp/paren.el b/lisp/paren.el index fffbbc8a938..e556b6c646c 100644 --- a/lisp/paren.el +++ b/lisp/paren.el @@ -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