Skip to content

Make string-inflection-get-current-word work more sensibly when transient mark mode is off#28

Merged
akicho8 merged 1 commit intoakicho8:masterfrom
errissa:master
May 17, 2020
Merged

Make string-inflection-get-current-word work more sensibly when transient mark mode is off#28
akicho8 merged 1 commit intoakicho8:masterfrom
errissa:master

Conversation

@errissa
Copy link
Contributor

@errissa errissa commented May 16, 2020

When transient mark mode is off 'mark-active' is effectively always true and string-inflection-get-current-word always returns a region even when the desired behavior is to operate on the word at point. use-region-p is the better test and produces the desired behavior both when transient-mode-mark is enabled and disabled.

@akicho8 akicho8 merged commit 9933f36 into akicho8:master May 17, 2020
@akicho8
Copy link
Owner

akicho8 commented May 17, 2020

Thanks 👍

@errissa
Copy link
Contributor Author

errissa commented May 17, 2020

You're welcome. Thanks for creating this package. It's quite handy!

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