|
From: | Florian Beck |
Subject: | Re: [O] Stop clock on closing emacs |
Date: | Sat, 01 Feb 2014 13:03:07 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
On 01.02.2014 11:45, Igor Sosa Mayor wrote:
I would like emacs/orgmode to insert the time I'm closing emacs as end time of the running clock.
Use `kill-emacs-hook': (defun org-clock-out-maybe () "Stop a currently running clock." (org-clock-out nil t)) (add-hook 'kill-emacs-hook 'org-clock-out-maybe) -- Florian Beck
[Prev in Thread] | Current Thread | [Next in Thread] |