Commit e8171d36 authored by Juri Linkov's avatar Juri Linkov
Browse files

(log-view-diff): Doc fix.

parent fa81f010
2005-12-14 Juri Linkov <juri@jurta.org> 2005-12-14 Juri Linkov <juri@jurta.org>
   
* log-view.el (log-view-diff): Doc fix.
* isearch.el (isearch-query-replace): Use (mark) instead of * isearch.el (isearch-query-replace): Use (mark) instead of
isearch-opoint if mark is active in transient-mark-mode. isearch-opoint if mark is active in transient-mark-mode.
   
......
...@@ -195,10 +195,11 @@ ...@@ -195,10 +195,11 @@
;; ;;
(defun log-view-diff (beg end) (defun log-view-diff (beg end)
"Get the diff for several revisions. "Get the diff between two revisions.
If the point is the same as the mark or the mark is not active, If the mark is not active or the mark is on the revision at point,
get the diff for this revision. Otherwise, get the diff between get the diff between the revision at point and its previous revision.
the revisions where the region starts and ends." Otherwise, get the diff between the revisions where the region starts
and ends."
(interactive (interactive
(list (if mark-active (region-beginning) (point)) (list (if mark-active (region-beginning) (point))
(if mark-active (region-end) (point)))) (if mark-active (region-end) (point))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment