bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28852: make revert-buffer ('g') in VC diff buffers keep point


From: Charles A. Roelli
Subject: bug#28852: make revert-buffer ('g') in VC diff buffers keep point
Date: Sun, 15 Oct 2017 21:07:30 +0200

At the moment, when you hit 'g' in a *vc-diff* buffer, the cursor is
moved back to (point-min), which can be annoying.  Attached is an
attempt at fixing that (using 'replace-buffer-contents' to keep
markers/point in the same place).

<#part type="text/x-patch" 
filename="~/Datacar/Code/emacs-devel/0001-Make-revert-buffer-g-keep-point-in-VC-diff-buffers.patch"
 disposition=attachment>
<#/part>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]