forked from mirrors/org-mode
Merge branch 'maint'
This commit is contained in:
commit
c130b2e7b3
|
@ -2962,9 +2962,9 @@ The details of what will be saved are regulated by the variable
|
|||
(defun org-clock-load ()
|
||||
"Load clock-related data from disk, maybe resuming a stored clock."
|
||||
(when (and org-clock-persist (not org-clock-loaded))
|
||||
(if (file-readable-p org-clock-persist-file)
|
||||
(message "Restoring clock data")
|
||||
(message "Not restoring clock data; %S not found" org-clock-persist-file)
|
||||
(if (not (file-readable-p org-clock-persist-file))
|
||||
(message "Not restoring clock data; %S not found" org-clock-persist-file)
|
||||
(message "Restoring clock data")
|
||||
;; Load history.
|
||||
(load-file org-clock-persist-file)
|
||||
(setq org-clock-loaded t)
|
||||
|
|
Loading…
Reference in New Issue