comparison lisp/vc.el @ 42205:7308bbc423d5

Doc fixes.
author Pavel Janík <Pavel@Janik.cz>
date Thu, 20 Dec 2001 18:59:32 +0000
parents cfae9c0a0035
children 1cf3624d80ac
comparison
equal deleted inserted replaced
42204:73e75f765479 42205:7308bbc423d5
4 4
5 ;; Author: FSF (see below for full credits) 5 ;; Author: FSF (see below for full credits)
6 ;; Maintainer: Andre Spiegel <spiegel@gnu.org> 6 ;; Maintainer: Andre Spiegel <spiegel@gnu.org>
7 ;; Keywords: tools 7 ;; Keywords: tools
8 8
9 ;; $Id: vc.el,v 1.322 2001/11/26 16:07:50 spiegel Exp $ 9 ;; $Id: vc.el,v 1.323 2001/11/26 16:17:17 pj Exp $
10 10
11 ;; This file is part of GNU Emacs. 11 ;; This file is part of GNU Emacs.
12 12
13 ;; GNU Emacs is free software; you can redistribute it and/or modify 13 ;; GNU Emacs is free software; you can redistribute it and/or modify
14 ;; it under the terms of the GNU General Public License as published by 14 ;; it under the terms of the GNU General Public License as published by
314 ;; Only required if `annotate-command' is defined for the backend. 314 ;; Only required if `annotate-command' is defined for the backend.
315 ;; Return the time of the next line of annotation at or after point, 315 ;; Return the time of the next line of annotation at or after point,
316 ;; as a floating point fractional number of days. The helper 316 ;; as a floating point fractional number of days. The helper
317 ;; function `vc-annotate-convert-time' may be useful for converting 317 ;; function `vc-annotate-convert-time' may be useful for converting
318 ;; multi-part times as returned by `current-time' and `encode-time' 318 ;; multi-part times as returned by `current-time' and `encode-time'
319 ;; to this format. Return NIL if no more lines of annotation appear 319 ;; to this format. Return nil if no more lines of annotation appear
320 ;; in the buffer. You can safely assume that point is placed at the 320 ;; in the buffer. You can safely assume that point is placed at the
321 ;; beginning of each line, starting at `point-min'. The buffer that 321 ;; beginning of each line, starting at `point-min'. The buffer that
322 ;; point is placed in is the Annotate output, as defined by the 322 ;; point is placed in is the Annotate output, as defined by the
323 ;; relevant backend. 323 ;; relevant backend.
324 ;; 324 ;;
2891 (defvar vc-annotate-ratio nil "Global variable.") 2891 (defvar vc-annotate-ratio nil "Global variable.")
2892 (defvar vc-annotate-backend nil "Global variable.") 2892 (defvar vc-annotate-backend nil "Global variable.")
2893 2893
2894 (defun vc-annotate-get-backend (buffer) 2894 (defun vc-annotate-get-backend (buffer)
2895 "Return the backend matching \"Annotate\" buffer BUFFER. 2895 "Return the backend matching \"Annotate\" buffer BUFFER.
2896 Return NIL if no match made. Associations are made based on 2896 Return nil if no match made. Associations are made based on
2897 `vc-annotate-buffers'." 2897 `vc-annotate-buffers'."
2898 (cdr (assoc buffer vc-annotate-buffers))) 2898 (cdr (assoc buffer vc-annotate-buffers)))
2899 2899
2900 (define-derived-mode vc-annotate-mode fundamental-mode "Annotate" 2900 (define-derived-mode vc-annotate-mode fundamental-mode "Annotate"
2901 "Major mode for output buffers of the `vc-annotate' command. 2901 "Major mode for output buffers of the `vc-annotate' command.