Function: projectile-version
projectile-version is an autoloaded, interactive and byte-compiled
function defined in projectile.el.
Signature
(projectile-version &optional SHOW-VERSION)
Documentation
Get the Projectile version as string.
If called interactively or if SHOW-VERSION is non-nil, show the version in the echo area and the messages buffer.
The returned string includes both, the version from package.el and the library version, if both are present and different.
If the version number could not be determined, signal an error, if called interactively, or if SHOW-VERSION is non-nil, otherwise just return nil.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/projectile-20260310.858/projectile.el
;;;###autoload
(defun projectile-version (&optional show-version)
"Get the Projectile version as string.
If called interactively or if SHOW-VERSION is non-nil, show the
version in the echo area and the messages buffer.
The returned string includes both, the version from package.el
and the library version, if both are present and different.
If the version number could not be determined, signal an error,
if called interactively, or if SHOW-VERSION is non-nil, otherwise
just return nil."
(interactive (list t))
(let ((version (or (projectile--pkg-version) projectile-version)))
(if show-version
(message "Projectile %s" version)
version)))