From e8171d36a31b88d9840a4bf36d6c7e5cbabaac60 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Wed, 14 Dec 2005 10:20:03 +0000 Subject: [PATCH] (log-view-diff): Doc fix. --- lisp/ChangeLog | 2 ++ lisp/log-view.el | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0843dab7a13..84ecda11885 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2005-12-14 Juri Linkov + * log-view.el (log-view-diff): Doc fix. + * isearch.el (isearch-query-replace): Use (mark) instead of isearch-opoint if mark is active in transient-mark-mode. diff --git a/lisp/log-view.el b/lisp/log-view.el index d640eac3835..6a9464005fb 100644 --- a/lisp/log-view.el +++ b/lisp/log-view.el @@ -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)))) -- 2.11.4.GIT