+2001-11-03 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * calendar/timeclock.el (timeclock-out): Signal an error if
+ timeclock-last-event is nil.
+
2001-11-01 Richard M. Stallman <rms@gnu.org>
* files.el (find-backup-file-name): Use make-backup-file-name.
interactively -- call the function `timeclock-get-reason-function' to
discover the reason."
(interactive "P")
+ (or timeclock-last-event
+ (error "You haven't clocked in!"))
(if (equal (downcase (car timeclock-last-event)) "o")
(error "You've already clocked out!")
(timeclock-log