Function: timeclock-change
timeclock-change is an autoloaded, interactive and byte-compiled
function defined in timeclock.el.gz.
Signature
(timeclock-change &optional ARG PROJECT)
Documentation
Change to working on a different project.
This clocks out of the current project, then clocks in on a new one. With a prefix ARG, consider the previous project as finished at the time of changeover. PROJECT is the name of the last project you were working on.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/timeclock.el.gz
;;;###autoload
(defun timeclock-change (&optional arg project)
"Change to working on a different project.
This clocks out of the current project, then clocks in on a new one.
With a prefix ARG, consider the previous project as finished at the
time of changeover. PROJECT is the name of the last project you were
working on."
(interactive "P")
(timeclock-out arg)
(timeclock-in nil project (called-interactively-p 'interactive)))