Variable: timeclock-get-reason-function

timeclock-get-reason-function is a customizable variable defined in timeclock.el.gz.

Value

timeclock-ask-for-reason

Documentation

A function used to determine the reason for clocking out.

When clocking out, and no reason is specified, this function will be called to determine what is the reason. If this variable is nil, no questions will be asked.

Source Code

;; Defined in /usr/src/emacs/lisp/calendar/timeclock.el.gz
(defcustom timeclock-get-reason-function #'timeclock-ask-for-reason
  "A function used to determine the reason for clocking out.
When clocking out, and no reason is specified, this function will be
called to determine what is the reason.
If this variable is nil, no questions will be asked."
  :type '(choice (const :tag "Don't ask" nil)
                 function))