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

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

bug#51320: 26.1; kill-region does not ignore its first two args if regio


From: Eli Zaretskii
Subject: bug#51320: 26.1; kill-region does not ignore its first two args if region is active
Date: Thu, 21 Oct 2021 22:15:27 +0300

> From: Richard Lawrence <rwl@recursewithless.net>
> Cc: 51320@debbugs.gnu.org
> Date: Thu, 21 Oct 2021 20:57:17 +0200
> 
> 2) Literally the first and only thing that kill-region does before
> throwing the error is check whether BEG and END are non-nil. The error I
> see is the one in the unless clause quoted above.

Ah, I see.  The function tests BEG and END being non-nil, but
interactively they never are nil, due to the 'interactive' form.

So yes, this is a bug, and I've now fixed it on the emacs-28 branch.

Thanks.





reply via email to

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