summaryrefslogtreecommitdiff
path: root/lisp/vc-rcs.el
diff options
context:
space:
mode:
authorAndré Spiegel <spiegel@gnu.org>2004-03-21 15:46:23 +0000
committerAndré Spiegel <spiegel@gnu.org>2004-03-21 15:46:23 +0000
commit69c33e5d7825a8f6a5f1ced00db79dff8015612e (patch)
tree5a76ded1375bb945c4fb682598feb518eeeba12c /lisp/vc-rcs.el
parenta9817cc4043be50bcf8f2860747181b9b459fcf4 (diff)
downloademacs-69c33e5d7825a8f6a5f1ced00db79dff8015612e.tar.gz
(vc-rcs-print-log, vc-rcs-diff): Add optional BUFFER argument.
Diffstat (limited to 'lisp/vc-rcs.el')
-rw-r--r--lisp/vc-rcs.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/vc-rcs.el b/lisp/vc-rcs.el
index ba4905897ae..02dc093ed5a 100644
--- a/lisp/vc-rcs.el
+++ b/lisp/vc-rcs.el
@@ -5,7 +5,7 @@
;; Author: FSF (see vc.el for full credits)
;; Maintainer: Andre Spiegel <spiegel@gnu.org>
-;; $Id: vc-rcs.el,v 1.37 2003/05/08 19:24:56 monnier Exp $
+;; $Id: vc-rcs.el,v 1.38 2003/09/01 15:45:17 miles Exp $
;; This file is part of GNU Emacs.
@@ -479,14 +479,14 @@ Needs RCS 5.6.2 or later for -M."
;;; History functions
;;;
-(defun vc-rcs-print-log (file)
+(defun vc-rcs-print-log (file &optional buffer)
"Get change log associated with FILE."
- (vc-do-command nil 0 "rlog" (vc-name file)))
+ (vc-do-command buffer 0 "rlog" (vc-name file)))
-(defun vc-rcs-diff (file &optional oldvers newvers)
+(defun vc-rcs-diff (file &optional oldvers newvers buffer)
"Get a difference report using RCS between two versions of FILE."
(if (not oldvers) (setq oldvers (vc-workfile-version file)))
- (apply 'vc-do-command "*vc-diff*" 1 "rcsdiff" file
+ (apply 'vc-do-command (or buffer "*vc-diff*") 1 "rcsdiff" file
(append (list "-q"
(concat "-r" oldvers)
(and newvers (concat "-r" newvers)))