changeset 14624:700c1a3ee265

Use run-with-idle-timer, not post-command-idle-hook.
author Karl Heuer <kwzh@gnu.org>
date Wed, 21 Feb 1996 21:21:55 +0000
parents 00ffbbef6304
children 4cbc6690c0f7
files lisp/paren.el
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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