diff options
| author | Karl Heuer | 1996-02-21 21:21:55 +0000 |
|---|---|---|
| committer | Karl Heuer | 1996-02-21 21:21:55 +0000 |
| commit | 44bea10aefe0ac434e07aced765d7573db1cce08 (patch) | |
| tree | 16e10ebcea16bf3c3f321b97f0d82e48c65ff488 | |
| parent | db3f571abd102a9e9f08456be78dfa041f1cb9b2 (diff) | |
| download | emacs-44bea10aefe0ac434e07aced765d7573db1cce08.tar.gz emacs-44bea10aefe0ac434e07aced765d7573db1cce08.zip | |
Use run-with-idle-timer, not post-command-idle-hook.
| -rw-r--r-- | lisp/paren.el | 5 |
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 @@ | |||
| 133 | (if window-system | 133 | (if window-system |
| 134 | (progn | 134 | (progn |
| 135 | (setq blink-matching-paren-on-screen nil) | 135 | (setq blink-matching-paren-on-screen nil) |
| 136 | (add-hook 'post-command-idle-hook 'show-paren-command-hook))) | 136 | (run-with-idle-timer .1 t 'show-paren-command-hook))) |
| 137 | ;;; This is in case paren.el is preloaded. | 137 | ;;; This is in case paren.el is preloaded. |
| 138 | (add-hook 'window-setup-hook | 138 | (add-hook 'window-setup-hook |
| 139 | (function (lambda () | 139 | (function (lambda () |
| 140 | (if window-system | 140 | (if window-system |
| 141 | (progn | 141 | (progn |
| 142 | (setq blink-matching-paren-on-screen nil) | 142 | (setq blink-matching-paren-on-screen nil) |
| 143 | (add-hook 'post-command-idle-hook | 143 | (run-with-idle-timer .1 t 'show-paren-command-hook)))))) |
| 144 | 'show-paren-command-hook)))))) | ||
| 145 | (provide 'paren) | 144 | (provide 'paren) |
| 146 | 145 | ||
| 147 | ;;; paren.el ends here | 146 | ;;; paren.el ends here |