]> 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)
committerDmitry Gutov <dmitry@gutov.dev>
Tue, 19 Dec 2023 22:24:37 +0000 (00:24 +0200)
commitf248960c71444a92cb91646e64d57b44523af884
treef7cef6cb011607ab5855aeaed20b6ae6a7652c06
parent7c1c2519167d51931a5d17f27529c8c8358c7c61
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.
lisp/vc/vc.el