From ebfa598e18a93281fdd8e23332b95be245ea29fb Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 14 Jan 2003 21:46:13 +0000 Subject: (log-view-message-re): The rev might be locked. --- lisp/log-view.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/log-view.el b/lisp/log-view.el index 219359344fa..ac854ba5d57 100644 --- a/lisp/log-view.el +++ b/lisp/log-view.el @@ -4,7 +4,7 @@ ;; Author: Stefan Monnier ;; Keywords: rcs sccs cvs log version-control -;; Revision: $Id: log-view.el,v 1.12 2001/12/16 16:28:59 monnier Exp $ +;; Revision: $Id: log-view.el,v 1.13 2001/12/31 20:25:41 rms Exp $ ;; This file is part of GNU Emacs. @@ -46,6 +46,7 @@ '(("q" . quit-window) ("z" . kill-this-buffer) ("m" . set-mark-command) + ;; ("e" . cvs-mode-edit-log) ("d" . log-view-diff) ("f" . log-view-find-version) ("n" . log-view-msg-next) @@ -84,7 +85,8 @@ "Working file: \\(.+\\)" "\\|SCCS/s\\.\\(.+\\):" "\\)\n")) -(defconst log-view-message-re "^\\(revision \\([.0-9]+\\)\\|rev \\([0-9]+\\): .*\\|D \\([.0-9]+\\) .*\\)$") +;; In RCS, a locked revision will look like "revision N.M\tlocked by: FOO". +(defconst log-view-message-re "^\\(revision \\([.0-9]+\\)\\(?:\t.*\\)?\\|rev \\([0-9]+\\): .*\\|D \\([.0-9]+\\) .*\\)$") (defconst log-view-font-lock-keywords `((,log-view-file-re -- cgit v1.2.1