# HG changeset patch # User Juri Linkov # Date 1134555541 0 # Node ID 4c4e2a7d9c453571f47b21434d14168ab873a408 # Parent 0253deb9a195ee81ea76ca14238b6c6b523b732b (log-view-diff): Doc fix. diff -r 0253deb9a195 -r 4c4e2a7d9c45 lisp/log-view.el --- a/lisp/log-view.el Wed Dec 14 07:55:50 2005 +0000 +++ b/lisp/log-view.el Wed Dec 14 10:19:01 2005 +0000 @@ -195,10 +195,11 @@ ;; (defun log-view-diff (beg end) - "Get the diff for several revisions. -If the point is the same as the mark or the mark is not active, -get the diff for this revision. Otherwise, get the diff between -the revisions where the region starts and ends." + "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." (interactive (list (if mark-active (region-beginning) (point)) (if mark-active (region-end) (point))))