[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19259: 25.0.50; Be able to use `compare-windows' in either direction
From: |
Lars Ingebrigtsen |
Subject: |
bug#19259: 25.0.50; Be able to use `compare-windows' in either direction |
Date: |
Tue, 13 Jul 2021 22:52:10 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Drew Adams <drew.adams@oracle.com> writes:
> Especially when `compare-windows' is used repeatedly (e.g. bound to a
> repeatable key etc.), it can be helpful to be able to sometimes
> compare backward, toward bob, instead of always forward, toward eob.
> Please add this enhancement.
A few days after this bug report (apparently),
`compare-windows-get-window-function' was added:
commit 96e6fd3c155b1851e0acd477789535a45b8d3187
Author: Juri Linkov <juri@linkov.net>
AuthorDate: Fri Dec 5 02:50:41 2014 +0200
Compare with the most recently used window by default.
* lisp/vc/compare-w.el (compare-windows-get-window-function):
New defcustom.
This can be redefined by the user to respond to `C-u' and the like, so I
don't think there's anything more to do here, and I'm closing this bug
report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#19259: 25.0.50; Be able to use `compare-windows' in either direction,
Lars Ingebrigtsen <=