Skip to content

Conversation

jimeh
Copy link
Contributor

@jimeh jimeh commented Aug 25, 2022

This fixes the condition in the go-playground-upload function, so it
runs go-play-buffer within go-playground snippet file buffers only.
Previously it would run it in any buffer, except snippet buffers.

I also removed the cursor movement and insertion of the result from
go-play-upload, as default behavior of go-play-buffer and go-play-region
is to place the URL on the killring, and can be customized setting the
go-play-browse-function variable.

This fixes the condition in the go-playground-upload function, so it
runs go-play-buffer within go-playground snippet file buffers only.
Previously it would run it in any buffer, except snippet buffers.

I also removed the cursor movement and insertion of the result from
go-play-upload, as default behavior of go-play-buffer and go-play-region
is to place the URL on the killring, and can be customized setting the
go-play-browse-function variable.
@grafov grafov merged commit f6c8b14 into grafov:master Nov 26, 2022
@grafov
Copy link
Owner

grafov commented Nov 26, 2022

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants