From a5462292931a22be0b0ce51d8694abc6ecce8c0c Mon Sep 17 00:00:00 2001 From: Magnus Henoch Date: Wed, 13 Jan 2010 08:57:06 -0800 Subject: [PATCH] * vc-p4.el (vc-p4-print-log): Accept optional argument revision, as required by Emacs 23.1.91. [git-p4: depot-paths = "//guest/Ben_Key/vc-p4/,//guest/jonathan_kamens/vc-p4/,//guest/magnus_henoch/vc-p4/": change = 7545] --- vc-p4.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vc-p4.el b/vc-p4.el index 817f813..17881b8 100644 --- a/vc-p4.el +++ b/vc-p4.el @@ -1,6 +1,6 @@ ;;; vc-p4.el --- Integrate Perforce support into VC mode in Emacs 21 -;; Copyright (C) 2009 Magnus Henoch +;; Copyright (C) 2009, 2010 Magnus Henoch ;; Copyright (C) 2002 Curl Corporation. ;; Author: Jonathan Kamens @@ -381,7 +381,7 @@ comment COMMENT." (let ((default-directory (file-name-directory file))) (p4-lowlevel-reopen file))) -(defun vc-p4-print-log (files &optional buffer shortlog limit) +(defun vc-p4-print-log (files &optional buffer shortlog revision limit) "Print Perforce log for FILE into *vc* buffer." ;; `log-view-mode' needs to have the file name in order to function ;; correctly. "p4 logview" does not print it, so we insert it here by