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

Reply via email to