Function: vc-mtn-log-view-mode

vc-mtn-log-view-mode is an interactive and byte-compiled function defined in vc-mtn.el.gz.

Signature

(vc-mtn-log-view-mode)

Documentation

Major mode derived from log-view-mode by define-derived-mode.

It inherits all of the parent's attributes, but has its own keymap, abbrev table and syntax table:

  vc-mtn-log-view-mode-map, vc-mtn-log-view-mode-abbrev-table and
vc-mtn-log-view-mode-syntax-table

which more-or-less shadow log-view-mode's corresponding tables.

In addition to any hooks its parent mode might have run, this mode runs the hook vc-mtn-log-view-mode-hook, as the final or penultimate step during initialization.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/vc-mtn.el.gz
(define-derived-mode vc-mtn-log-view-mode log-view-mode "Mtn-Log-View"
  ;; Don't match anything.
  (setq-local log-view-file-re regexp-unmatchable)
  (setq-local log-view-per-file-logs nil)
  ;; TODO: Use a more precise regexp than "[ |/]+" to avoid false positives
  ;; in the ChangeLog text.
  (setq-local log-view-message-re
              "^[ |/]+Revision: \\([0-9a-f]+\\)")
  (require 'add-log)                    ;For change-log faces.
  (setq-local log-view-font-lock-keywords
       (append log-view-font-lock-keywords
               '(("^[ |]+Author: \\(.*\\)" (1 'change-log-email))
                 ("^[ |]+Date: \\(.*\\)" (1 'change-log-date))))))