mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
Use run-with-idle-timer, not post-command-idle-hook.
This commit is contained in:
parent
db3f571abd
commit
44bea10aef
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue