summaryrefslogtreecommitdiff
path: root/lisp/vc-rcs.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2002-10-04 18:38:04 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2002-10-04 18:38:04 +0000
commit27373ce1182ff73e987e3799b3cd33fff2544ba0 (patch)
tree74376fff6e59fd2374ba226220e1a1a28aa98fca /lisp/vc-rcs.el
parent15092da1f12bee3c343ada5d9633b6ff4a38f73c (diff)
downloademacs-27373ce1182ff73e987e3799b3cd33fff2544ba0.tar.gz
(vc-rcs-show-log-entry): Delete.
Diffstat (limited to 'lisp/vc-rcs.el')
-rw-r--r--lisp/vc-rcs.el33
1 files changed, 1 insertions, 32 deletions
diff --git a/lisp/vc-rcs.el b/lisp/vc-rcs.el
index 53c842dda8c..3ad9f6fdcbb 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.25 2002/07/19 13:27:44 spiegel Exp $
+;; $Id: vc-rcs.el,v 1.26 2002/09/04 20:49:35 spiegel Exp $
;; This file is part of GNU Emacs.
@@ -492,37 +492,6 @@ Needs RCS 5.6.2 or later for -M."
"Get change log associated with FILE."
(vc-do-command nil 0 "rlog" (vc-name file)))
-(defun vc-rcs-show-log-entry (version)
- (when (re-search-forward
- ;; also match some context, for safety
- (concat "----\nrevision " version
- "\\(\tlocked by:.*\n\\|\n\\)date: ") nil t)
- ;; set the display window so that
- ;; the whole log entry is displayed
- (let (start end lines)
- (beginning-of-line) (forward-line -1) (setq start (point))
- (if (not (re-search-forward "^----*\nrevision" nil t))
- (setq end (point-max))
- (beginning-of-line) (forward-line -1) (setq end (point)))
- (setq lines (count-lines start end))
- (cond
- ;; if the global information and this log entry fit
- ;; into the window, display from the beginning
- ((< (count-lines (point-min) end) (window-height))
- (goto-char (point-min))
- (recenter 0)
- (goto-char start))
- ;; if the whole entry fits into the window,
- ;; display it centered
- ((< (1+ lines) (window-height))
- (goto-char start)
- (recenter (1- (- (/ (window-height) 2) (/ lines 2)))))
- ;; otherwise (the entry is too large for the window),
- ;; display from the start
- (t
- (goto-char start)
- (recenter 0))))))
-
(defun vc-rcs-diff (file &optional oldvers newvers)
"Get a difference report using RCS between two versions of FILE."
(if (not oldvers) (setq oldvers (vc-workfile-version file)))