summaryrefslogtreecommitdiff
path: root/lisp/paren.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-02-21 21:21:55 +0000
committerKarl Heuer <kwzh@gnu.org>1996-02-21 21:21:55 +0000
commit8251fc39ae35e206842bcac15edc380fe2c722f7 (patch)
treeb101c7a5a0265c2c881cd4cccd94291916d51653 /lisp/paren.el
parentabfb86be1683175648fbc4ebac2a2747a116f4be (diff)
downloademacs-8251fc39ae35e206842bcac15edc380fe2c722f7.tar.gz
Use run-with-idle-timer, not post-command-idle-hook.
Diffstat (limited to 'lisp/paren.el')
-rw-r--r--lisp/paren.el5
1 files changed, 2 insertions, 3 deletions
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