1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-23 07:18:53 +00:00

Remove the dependence on time-stamp.el.

This commit is contained in:
Carsten Dominik 2008-10-28 09:46:42 +01:00
parent 07657f3e80
commit 7c40034fd8
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2008-10-28 Carsten Dominik <dominik@science.uva.nl>
* org-clock.el (org-clock-save): Insert time stamp without
dependence on time-stamp.el.
2008-10-27 Carsten Dominik <dominik@science.uva.nl>

View File

@ -1016,7 +1016,9 @@ the currently selected interval size."
(with-current-buffer (find-file (expand-file-name org-clock-persist-file))
(progn (delete-region (point-min) (point-max))
;;Store clock
(insert (format ";; org-persist.el - %s at %s\n" system-name (time-stamp-string)))
(insert (format ";; org-persist.el - %s at %s\n"
system-name (format-time-string
(cdr (org-time-stamp-formats)))))
(if (and org-clock-persist (marker-buffer org-clock-marker)
(or (not org-clock-persist-query-save)
(y-or-n-p (concat "Save current clock ("
@ -1042,8 +1044,6 @@ the currently selected interval size."
(defvar org-clock-loaded nil)
(require 'timestamp)
(defun org-clock-load ()
"Load various clock-related data from disk, optionally resuming
a stored clock"