|
From: | Dmitry Gutov |
Subject: | bug#41779: Fall back between vc-diff and diff-backup |
Date: | Wed, 10 Jun 2020 22:05:35 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
On 10.06.2020 02:35, Juri Linkov wrote:
Therefore, this patch to the rescue:
Considering that 'M-=' is not a default binding, and diff-backup doesn't have one, how about creating a new command? You could just as well bind it to 'M-='.
The command could be called 'diff-dwim'. Or 'diff-vc-or-backup'.Regarding the proposed patch, I'm somewhat uneasy making 'vc-diff' (the command which purpose is to compare edits against the "saved" snapshot in version control) diff against the backup (lifetime of which is very unclear to me). Or vice versa.
[Prev in Thread] | Current Thread | [Next in Thread] |