Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify that an empty region can be killed twice #660

Merged
merged 1 commit into from
Feb 2, 2025

Conversation

matsl
Copy link
Collaborator

@matsl matsl commented Feb 1, 2025

What

Verify that an empty region can be killed twice.

Why

Mimics calling C-w (hui-kill-region) on an empty region which causes
an error in kill-region. The test is prepared so that the second call
to hui-kill-region sees the same state as it does when calling it
using C-w. (kill-region does things like sets deactivate-mark and
depends on what the last-command was which need to be setup to
happen.)

Mimics calling C-w (hui-kill-region) on an empty region twice.
@matsl matsl force-pushed the verify-multiple-calls-to-C-w-works branch from f0f3d11 to 464fa14 Compare February 1, 2025 23:16
@rswgnu rswgnu merged commit 2133fe0 into master Feb 2, 2025
4 checks passed
@matsl matsl deleted the verify-multiple-calls-to-C-w-works branch February 17, 2025 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants