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

Use kotl mode copy regions as kill in kotl mode #294

Merged
merged 2 commits into from
Jan 8, 2023

Conversation

matsl
Copy link
Collaborator

@matsl matsl commented Jan 1, 2023

What

Use kotl-mode:copy-region-as-kill in kotl-mode.

Why

Looked at whyM-w i kotl-mode copies the left margin and found that it is bound to hui-kill-ring-save which calls kill-region-as-kill directly. We have kotl-mode:copy-region-as-kill that seems to do the proper copying without picking up the left margin whitespace. This PR uses that function for copying the region when in kotl-mode.

@matsl matsl requested a review from rswgnu January 1, 2023 21:59
@matsl matsl force-pushed the use-kotl-mode-copy-regions-as-kill-in-kotl-mode branch from 4db4347 to d6abe51 Compare January 8, 2023 09:23
@matsl matsl merged commit d64133c into master Jan 8, 2023
@matsl matsl deleted the use-kotl-mode-copy-regions-as-kill-in-kotl-mode branch January 8, 2023 09:25
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.

None yet

2 participants