Variable: activities-default-name-fn

activities-default-name-fn is a customizable variable defined in activities.el.

Value

activities--project-name

Documentation

Function that returns the default name for a new activity.

The string should not be prefixed by, e.g. "Activity" because prefixes will be added automatically.

Source Code

;; Defined in ~/.emacs.d/elpa/activities-0.7.2/activities.el
(defcustom activities-default-name-fn 'activities--project-name
  "Function that returns the default name for a new activity.
The string should not be prefixed by, e.g. \"Activity\" because
prefixes will be added automatically."
  :type '(choice (const :tag "No default name" (lambda (&rest _) nil))
                 (const :tag "Current project's name" activities--project-name)
                 (function-item :tag "Other function")))