Variable: activities-mode
activities-mode is a customizable variable defined in activities.el.
Value
nil
Documentation
Non-nil if Activities mode is enabled.
See the activities-mode(var)/activities-mode(fun) command
for a description of this minor mode.
Setting this variable directly does not take effect;
either customize it (see the info node (emacs)Easy Customization)
or call the function activities-mode(var)/activities-mode(fun).
Key Bindings
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)))