diff lisp/vc-hg.el @ 81572:0991efe3cafa

* vc-hg.el (vc-hg-log-view-mode): Fix last change. * log-view.el (log-view-mode-menu): New menu.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 23 Jun 2007 03:06:21 +0000
parents 0e2a83705e5f
children cea1e05b3c83
line wrap: on
line diff
--- a/lisp/vc-hg.el	Sat Jun 23 01:53:51 2007 +0000
+++ b/lisp/vc-hg.el	Sat Jun 23 03:06:21 2007 +0000
@@ -142,7 +142,7 @@
        "^changeset:[ \t]*\\([0-9]+\\):\\(.+\\)")
   (set (make-local-variable 'log-view-font-lock-keywords)
        (append
-        log-view-font-lock-keywords
+        (copy-alist log-view-font-lock-keywords)
 	;; Handle the case:
 	;; user: foo@bar
 	'(("^user:[ \t]+\\([A-Za-z0-9_.+-]+@[A-Za-z0-9_.-]+\\)"
@@ -153,7 +153,7 @@
 	   (1 'change-log-name)
 	   (2 'change-log-email))
 	  ("^date: \\(.+\\)" (1 'change-log-date))
-	  ("^summary:[ \t]+\\(.+\\)" (1 'log-view-message))))))
+	  ("^summary:[ \t]+\\(.+\\)" (1 'log-view-message)))))))
 
 (defun vc-hg-diff (file &optional oldvers newvers buffer)
   "Get a difference report using hg between two versions of FILE."