]> git.eshelyaron.com Git - emacs.git/commitdiff
Use run-with-idle-timer, not post-command-idle-hook.
authorKarl Heuer <kwzh@gnu.org>
Wed, 21 Feb 1996 21:21:55 +0000 (21:21 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 21 Feb 1996 21:21:55 +0000 (21:21 +0000)
lisp/paren.el

index fffbbc8a938a0ece94dcba4a8b8be516706338d6..e556b6c646c9a6197f3a10369140abc03182b152 100644 (file)
 (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