Variable: vc-display-status

vc-display-status is a customizable variable defined in vc-hooks.el.gz.

Value

t

Documentation

If non-nil, display revision number and lock status in mode line.

If nil, only the backend name is displayed. When the value is no-backend, then no backend name is displayed before the revision number and lock status.

Probably introduced at or before Emacs version 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-hooks.el.gz
(defcustom vc-display-status t
  "If non-nil, display revision number and lock status in mode line.
If nil, only the backend name is displayed.  When the value
is `no-backend', then no backend name is displayed before the
revision number and lock status."
  :type '(choice (const :tag "Show only revision/status" no-backend)
                 (const :tag "Show backend and revision/status" t)
                 (const :tag "Show only backend name" nil))
  :group 'vc)