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

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

bug#13169: [PATCH] kill-region fails to deactivate mark after cutting em


From: Chong Yidong
Subject: bug#13169: [PATCH] kill-region fails to deactivate mark after cutting empty region
Date: Fri, 21 Dec 2012 11:49:54 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.91 (gnu/linux)

Kelly Dean <kellydeanch@yahoo.com> writes:

> C-SPC C-w C-p
> kill-region cut an empty region, which is correct, but the mark is
> still active, which is incorrect. When the buffer and text aren't
> read-only, kill-region relies on the command loop to deactivate the
> mark after the buffer is modified, but when cutting an empty region,
> the buffer isn't modified, so the mark is never deactivated.
> The attached killregionbug.patch fixes it.

Committed to trunk, thanks.





reply via email to

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