Variable: projectile-session-default-action

projectile-session-default-action is a customizable variable defined in projectile.el.

Value

projectile-find-file

Documentation

Action used to populate a project's freshly created tab.

Called with no arguments by projectile-session-switch-project-action when a project is switched to for the first time (and thus gets a new tab). Any command that takes no arguments will do.

This variable was added, or its default value changed, in projectile version 3.2.0.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defcustom projectile-session-default-action 'projectile-find-file
  "Action used to populate a project's freshly created tab.
Called with no arguments by `projectile-session-switch-project-action'
when a project is switched to for the first time (and thus gets a new
tab).  Any command that takes no arguments will do."
  :group 'projectile
  :type 'function
  :package-version '(projectile . "3.2.0"))