org-indent: also initialize background buffers, less aggressively
commitb93087ccf119cf8cc567025c189182ff15a3e842
authorNicolas Goaziou <n.goaziou@gmail.com>
Sun, 21 Aug 2011 13:01:04 +0000 (21 15:01 +0200)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sun, 21 Aug 2011 13:28:50 +0000 (21 15:28 +0200)
treefa75a588843bf17640d7f591b2829587dc0ead32
parent3e33c9c37e265619b56a839ef41362d247565d39
org-indent: also initialize background buffers, less aggressively

* lisp/org-indent.el (org-indent-initialize-agent): when the current
  buffer isn't being watched, resume initialization of other watched
  buffers. In that case, give hand to others idle timers or processes
  more frequently.
(org-indent-agent-active-delay): renamed from
org-indent-agent-process-duration.
(org-indent-agent-passive-delay): new variable.
(org-indent-agent-resume-delay): change value.
(org-indent-initialize-buffer): change argument name.
(org-indent-add-properties): change argument name and type
expected. It must be a time value now.

add
lisp/org-indent.el