* 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]
This commit is contained in:
Magnus Henoch 2010-01-13 08:57:06 -08:00
parent a0e7fbe5e1
commit a546229293

View file

@ -1,6 +1,6 @@
;;; vc-p4.el --- Integrate Perforce support into VC mode in Emacs 21 ;;; 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. ;; Copyright (C) 2002 Curl Corporation.
;; Author: Jonathan Kamens <jik@kamens.brookline.ma.us> ;; Author: Jonathan Kamens <jik@kamens.brookline.ma.us>
@ -381,7 +381,7 @@ comment COMMENT."
(let ((default-directory (file-name-directory file))) (let ((default-directory (file-name-directory file)))
(p4-lowlevel-reopen 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." "Print Perforce log for FILE into *vc* buffer."
;; `log-view-mode' needs to have the file name in order to function ;; `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 ;; correctly. "p4 logview" does not print it, so we insert it here by