summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2010-03-25 18:58:46 -0400
committerChong Yidong <cyd@stupidchicken.com>2010-03-25 18:58:46 -0400
commit9aa2c576e9e812f9915fa9a3ab6632f54c5301d6 (patch)
treea2dfd895380bf7ff5387cf249bf7a231e8502fc6
parentc0c035fa6ae2ecc7656bf1cdf5b75594411bbb0f (diff)
downloademacs-9aa2c576e9e812f9915fa9a3ab6632f54c5301d6.tar.gz
* vc.el (vc-print-log, vc-print-root-log): Doc fix.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/vc.el12
2 files changed, 12 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 715f6fccba2..195bb95bbeb 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
2010-03-25 Chong Yidong <cyd@stupidchicken.com>
+ * vc.el (vc-print-log, vc-print-root-log): Doc fix.
+
* simple.el (append-to-buffer): Fix last change.
2010-03-24 Chong Yidong <cyd@stupidchicken.com>
diff --git a/lisp/vc.el b/lisp/vc.el
index 2ca36ef4e01..6169c2a6684 100644
--- a/lisp/vc.el
+++ b/lisp/vc.el
@@ -1931,7 +1931,12 @@ Not all VC backends support short logs!")
;;;###autoload
(defun vc-print-log (&optional working-revision limit)
"List the change log of the current fileset in a window.
-If WORKING-REVISION is non-nil, leave the point at that revision."
+If WORKING-REVISION is non-nil, leave point at that revision.
+If LIMIT is non-nil, it should be a number specifying the maximum
+number of revisions to show; the default is `vc-log-show-limit'.
+
+When called interactively with a prefix argument, prompt for
+WORKING-REVISION and LIMIT."
(interactive
(cond
(current-prefix-arg
@@ -1955,7 +1960,10 @@ If WORKING-REVISION is non-nil, leave the point at that revision."
;;;###autoload
(defun vc-print-root-log (&optional limit)
- "List the change log of for the current VC controlled tree in a window."
+ "List the change log for the current VC controlled tree in a window.
+If LIMIT is non-nil, it should be a number specifying the maximum
+number of revisions to show; the default is `vc-log-show-limit'.
+When called interactively with a prefix argument, prompt for LIMIT."
(interactive
(cond
(current-prefix-arg