]> git.eshelyaron.com Git - emacs.git/commit
Add "back" button on top of the pre-rename vc-print-log buffer
authorDmitry Gutov <dmitry@gutov.dev>
Tue, 19 Dec 2023 22:22:47 +0000 (00:22 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 21 Dec 2023 20:54:00 +0000 (21:54 +0100)
commit4685ceeaf029904f5e38a4e4a6f5106492d433cf
tree572c4ca76db05c838656110abd749543ea8adb5a
parent10fff0281a61cdb9c4833aced0ebc7f1fca839a3
Add "back" button on top of the pre-rename vc-print-log buffer

* lisp/vc/vc.el (log-view-vc-prev-revision)
(log-view-vc-prev-fileset): New dynamic variables (bug#55871).
(vc-print-log-renamed-add-button): Extract from
'vc-print-log-setup-buttons'.  Bind the above variables to convey
the current revision and fileset to 'vc-print-log-internal'.
(vc-print-log-internal): Use it also here, to print a "back"
button above the log when 'log-view-vc-prev-fileset' is set.

(cherry picked from commit f248960c71444a92cb91646e64d57b44523af884)
lisp/vc/vc.el