emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: log-view-diff


From: Richard M. Stallman
Subject: Re: log-view-diff
Date: Fri, 02 Dec 2005 13:21:54 -0500

    The doc for log-view-diff says:

      "Get the diff for several revisions.
    If the point is the same as the mark, get the diff for this revision.
    Otherwise, get the diff between the revisions
    were the region starts and ends."

    but the implementation requires that mark is active:

      (interactive
       (list (if mark-active (region-beginning) (point))
             (if mark-active (region-end) (point))))

I think they are consistent, when the former is interpreted in the
light of our usual convention that commands that operate only
sometimes on the region do so only if the mark is active.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]