Added checks to determine which idle time to use
commitdb2bf2a8189ed00c6b5e8cbc31006b3844a7c78c
authorNicolas Calderon Asselin <nicolas.calderon.asselin@gmail.com>
Wed, 18 Jul 2012 18:58:31 +0000 (18 14:58 -0400)
committerBastien Guerry <bzg@altern.org>
Tue, 24 Jul 2012 15:10:10 +0000 (24 17:10 +0200)
tree6a04877ebcc5c4fd386cf2dd97a96b0eabfbcb8b
parent49994a4c3effc1327a96ed54a23f2174b4077cb8
Added checks to determine which idle time to use

* lisp/org-clock.el (org-clock-idle-time): Org-mode assumed that x11idle
  was an available command, and returned an idle time of 0 if it was not
  (never idle). Added checks so that org-idle-time will come from emacs'
  own current-idle-time if x11idle cannot be found or if it cannot
  retrieve the idle time from X11

TINYCHANGE
lisp/org-clock.el