aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/vc
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2012-08-09 15:50:49 +0800
committerChong Yidong <[email protected]>2012-08-09 15:50:49 +0800
commitc7fe9adcd4c114443f3706d7150ff5ce632f8717 (patch)
tree8012b4bdfafa3aab68bee47be4b1b764df10488a /lisp/vc
parenta9f5a6491c6b3deead2975bfe4da583568a0167a (diff)
Update docstrings for last change.
Diffstat (limited to 'lisp/vc')
-rw-r--r--lisp/vc/log-view.el28
1 files changed, 16 insertions, 12 deletions
diff --git a/lisp/vc/log-view.el b/lisp/vc/log-view.el
index 0f21437419..9dda78d031 100644
--- a/lisp/vc/log-view.el
+++ b/lisp/vc/log-view.el
@@ -537,12 +537,14 @@ It assumes that a log entry starts with a line matching
(defun log-view-diff (beg end)
"Get the diff between two revisions.
-If the mark is not active or the mark is on the revision at point,
-get the diff between the revision at point and its previous revision.
-Otherwise, get the diff between the revisions where the region starts
-and ends.
-Contrary to `log-view-diff-changeset', it will only show the part of the
-changeset that affected the currently considered file(s)."
+If the region is inactive or the mark is on the revision at
+point, get the diff between the revision at point and its
+previous revision. Otherwise, get the diff between the revisions
+where the region starts and ends.
+
+Unlike `log-view-diff-changeset', this function only shows the
+part of the changeset which affected the currently considered
+file(s)."
(interactive
(list (if (use-region-p) (region-beginning) (point))
(if (use-region-p) (region-end) (point))))
@@ -562,12 +564,14 @@ changeset that affected the currently considered file(s)."
(defun log-view-diff-changeset (beg end)
"Get the diff between two revisions.
-If the mark is not active or the mark is on the revision at point,
-get the diff between the revision at point and its previous revision.
-Otherwise, get the diff between the revisions where the region starts
-and ends.
-Contrary to `log-view-diff', it will show the whole changeset including
-the changes that affected other files than the currently considered file(s)."
+If the region is inactive or the mark is on the revision at
+point, get the diff between the revision at point and its
+previous revision. Otherwise, get the diff between the revisions
+where the region starts and ends.
+
+Unlike `log-view-diff' this function shows the whole changeset,
+including changes affecting other files than the currently
+considered file(s)."
(interactive
(list (if (use-region-p) (region-beginning) (point))
(if (use-region-p) (region-end) (point))))