Variable: vc-arch-mode-line-rewrite

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

Value

(("\\`.*--\\(.*--.*\\)--\\(v?\\).*-\\([0-9]+\\)\\'" . "\\2\\3[\\1]"))

Documentation

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

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/vc-arch.el.gz
(defcustom vc-arch-mode-line-rewrite
  '(("\\`.*--\\(.*--.*\\)--\\(v?\\).*-\\([0-9]+\\)\\'" . "\\2\\3[\\1]"))
  "Rewrite rules to shorten Arch's revision names on the mode-line."
  :type '(repeat (cons regexp string)))