Variable: timeclock-ask-before-exiting
timeclock-ask-before-exiting is a customizable variable defined in
timeclock.el.gz.
Value
t
Documentation
If non-nil, ask if the user wants to clock out before exiting Emacs.
This variable only has effect if set with M-x customize (customize).
Source Code
;; Defined in /usr/src/emacs/lisp/calendar/timeclock.el.gz
(defcustom timeclock-ask-before-exiting t
"If non-nil, ask if the user wants to clock out before exiting Emacs.
This variable only has effect if set with \\[customize]."
:set (lambda (symbol value)
(if value
(add-hook 'kill-emacs-query-functions #'timeclock-query-out)
(remove-hook 'kill-emacs-query-functions #'timeclock-query-out))
(set symbol value))
:type 'boolean)