]> git.eshelyaron.com Git - emacs.git/commit
Fix the regression in dired-backup-diff's diff-goto-source behavior
authorDmitry Gutov <dmitry@gutov.dev>
Sat, 19 Oct 2024 01:25:52 +0000 (02:25 +0100)
committerEshel Yaron <me@eshelyaron.com>
Tue, 22 Oct 2024 18:54:45 +0000 (20:54 +0200)
commitf6a884097ce09911f9f111c3c6248859699f89cd
tree745856b3ad895f7db2da5a92dfc0ecdbb9272d2e
parent9da9b613ad45c842f7a93677920844592ab495d5
Fix the regression in dired-backup-diff's diff-goto-source behavior

* lisp/vc/diff-mode.el (diff-find-source-location): Undo part of
the previous change, so that 'reverse' does not affect whether the
"other file" is used (bug#62731).
(diff-apply-hunk): Make that choice here.

(cherry picked from commit 1374f20491bbf0c37760cdb84f6020f80fe4eadd)
lisp/vc/diff-mode.el