]> git.eshelyaron.com Git - emacs.git/commit
Compare with the most recently used window by default.
authorJuri Linkov <juri@linkov.net>
Fri, 5 Dec 2014 00:50:41 +0000 (02:50 +0200)
committerJuri Linkov <juri@linkov.net>
Fri, 5 Dec 2014 00:50:41 +0000 (02:50 +0200)
commit96e6fd3c155b1851e0acd477789535a45b8d3187
tree1cb4805387151ded241ba914dec61ad5c5787e81
parentd08f4f8fc5219324ac352c6d89f0db5c6a18ce32
Compare with the most recently used window by default.

* lisp/vc/compare-w.el (compare-windows-get-window-function):
New defcustom.
(compare-windows-get-recent-window)
(compare-windows-get-next-window): New functions.
(compare-windows, compare-windows-sync-default-function):
Use `compare-windows-get-window-function' instead of `next-window'.
(compare-windows): Add diff/match messages with region boundaries.
Fixes: debbugs:19170
etc/NEWS
lisp/ChangeLog
lisp/vc/compare-w.el