Function: projectile-project-name

projectile-project-name is a byte-compiled function defined in projectile.el.

Signature

(projectile-project-name &optional PROJECT)

Documentation

Return project name.

If PROJECT is not specified acts on the current project.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
(defun projectile-project-name (&optional project)
  "Return project name.
If PROJECT is not specified acts on the current project."
  (or projectile-project-name
      (let ((project-root (or project (projectile-project-root))))
        (if project-root
            (funcall projectile-project-name-function project-root)
          "-"))))