Variable: activities-mode-hook
activities-mode-hook is a customizable variable defined in
activities.el.
Value
nil
Documentation
Hook run after entering or leaving activities-mode(var)/activities-mode(fun).
No problems result if this variable is not bound.
add-hook automatically binds it. (This is true for all hook variables.)
Source Code
;; Defined in ~/.emacs.d/elpa/activities-0.7.2/activities.el
;;;###autoload
(define-minor-mode activities-mode
"Automatically remember activities' state.
accordingly."
:global t
:group 'activities
(if activities-mode
(progn
(setf activities-mode-timer
(run-with-idle-timer activities-mode-idle-frequency t #'activities-save-all))
(add-hook 'kill-emacs-hook #'activities-mode--killing-emacs))
(when (timerp activities-mode-timer)
(cancel-timer activities-mode-timer)
(setf activities-mode-timer nil))
(remove-hook 'kill-emacs-hook #'activities-mode--killing-emacs)))