Variable: vc-mtn-mode-line-rewrite

vc-mtn-mode-line-rewrite is a customizable variable defined in vc-mtn.el.gz.

Value

(("\\`[^:/#]*[:/#]" . ""))

Documentation

Rewrite rules to shorten Mtn's revision names on the mode-line.

This variable was added, or its default value changed, in Emacs 22.2.

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/vc-mtn.el.gz
;; Mode-line rewrite code copied from vc-arch.el.

(defcustom vc-mtn-mode-line-rewrite
  '(("\\`[^:/#]*[:/#]" . ""))           ;Drop the host part.
  "Rewrite rules to shorten Mtn's revision names on the mode-line."
  :type '(repeat (cons regexp string))
  :version "22.2")