From: Chong Yidong Date: Thu, 9 Aug 2012 07:50:49 +0000 (+0800) Subject: Update docstrings for last change. X-Git-Tag: emacs-24.2.90~758 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c7fe9adcd4c114443f3706d7150ff5ce632f8717;p=emacs.git Update docstrings for last change. --- diff --git a/lisp/vc/log-view.el b/lisp/vc/log-view.el index 0f21437419c..9dda78d0314 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))))