aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Wiegley2001-05-10 01:55:51 +0000
committerJohn Wiegley2001-05-10 01:55:51 +0000
commit3b774a0c201068fa0659b7d3fd3d6044ffde50e3 (patch)
tree67f064635becac0187bd8a3ca61c366de4ae24d8
parentb2c9995061505419cc40c3bae07d19438a7fe5fa (diff)
downloademacs-3b774a0c201068fa0659b7d3fd3d6044ffde50e3.tar.gz
emacs-3b774a0c201068fa0659b7d3fd3d6044ffde50e3.zip
(timeclock-find-discrep): Set `timeclock-last-event-workday' if it's
still nil.
-rw-r--r--lisp/calendar/timeclock.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/calendar/timeclock.el b/lisp/calendar/timeclock.el
index 53ff1277139..2cd06f3ac6b 100644
--- a/lisp/calendar/timeclock.el
+++ b/lisp/calendar/timeclock.el
@@ -1077,6 +1077,8 @@ See the documentation for the given function if more info is needed."
1077 timeclock-workday)) 1077 timeclock-workday))
1078 (forward-line)) 1078 (forward-line))
1079 (setq timeclock-discrepancy accum)))) 1079 (setq timeclock-discrepancy accum))))
1080 (unless timeclock-last-event-workday
1081 (setq timeclock-last-event-workday timeclock-workday))
1080 (setq accum timeclock-discrepancy 1082 (setq accum timeclock-discrepancy
1081 elapsed timeclock-elapsed) 1083 elapsed timeclock-elapsed)
1082 (if timeclock-last-event 1084 (if timeclock-last-event