Variable: projectile--mode-line

projectile--mode-line is a buffer-local variable defined in projectile.el.

Documentation

The mode-line lighter Projectile shows in this buffer.

Seeded from projectile-mode-line-prefix and replaced by projectile-update-mode-line once the buffer's project is known. A buffer that never gets that far keeps the prefix: that is every buffer when projectile-dynamic-mode-line is off, and remote ones always, since both update paths skip them to avoid a TRAMP round trip.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
;;; Projectile Minor mode

(defvar-local projectile--mode-line nil
  "The mode-line lighter Projectile shows in this buffer.
Seeded from `projectile-mode-line-prefix' and replaced by
`projectile-update-mode-line' once the buffer's project is known.  A
buffer that never gets that far keeps the prefix: that is every buffer
when `projectile-dynamic-mode-line' is off, and remote ones always,
since both update paths skip them to avoid a TRAMP round trip.")