+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-02 Stefan Monnier <monnier@cs.yale.edu>
* international/mule-diag.el (list-character-sets)
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