org-clock.el: new hook to remove empty clock drawer.
commit65b64bea53e73ea73a4b791a1057b074db144b23
authorBastien Guerry <bzg@altern.org>
Sat, 9 Jul 2011 13:20:31 +0000 (9 15:20 +0200)
committerBastien Guerry <bzg@altern.org>
Sat, 9 Jul 2011 13:20:31 +0000 (9 15:20 +0200)
tree272ace2df4f08135aa94d56afc5514b2d080839a
parent516b2fbb8763788585ac6a9f60ad7d51c4b0aab3
org-clock.el: new hook to remove empty clock drawer.

* org-clock.el (org-clock-remove-empty-clock-drawer): New
function to remove empty clock drawer.
(org-clock-out-hook): Add the new function as a hook.
lisp/org-clock.el