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 copy_to_all_selections if possible on --copy. #17

Merged
merged 1 commit into from Jul 23, 2019

Conversation

shlomif
Copy link

@shlomif shlomif commented Jul 22, 2019

This allows ctrl+v on X windows.


I hereby disclaim any implicit or explicit ownership of my changes in this
changeset, and put them under a multiple licence consisting of your choice of
one of more of:

Crediting me will be nice, but not mandatory, and you can change the licence
of the project without needing my permission.

@karenetheridge
Copy link
Owner

Instead of checking $@ (which might not be set properly, or defined-and-false), it would be preferrable to check the result, like so:

eval { <first call>; 1 } or <second call>;

This allows ctrl+v on X windows.

-------------

I hereby disclaim any implicit or explicit ownership of my changes in this
changeset, and put them under a multiple licence consisting of your choice of
one of more of:

- The CC0 / Public Domain - https://creativecommons.org/choose/zero/ .

- The MIT / Expat license - https://en.wikipedia.org/wiki/MIT_License

- The default licence of your project

- The https://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License - version
2.1 or higher

- The https://en.wikipedia.org/wiki/GNU_General_Public_License - version 2 or
higher

- Any licence in the 2018-Aug-27 popular licenses list of
https://opensource.org/licenses

- The https://en.wikipedia.org/wiki/Apache_License version 2.0 or later

- The https://en.wikipedia.org/wiki/Artistic_License version 2.0 or later

- The https://en.wikipedia.org/wiki/ISC_license

- The https://opensource.org/licenses/BSD-2-Clause

Crediting me will be nice, but not mandatory, and you can change the licence
of the project without needing my permission.
@shlomif
Copy link
Author

shlomif commented Jul 22, 2019

@karenetheridge : hopefully fixed now.

@karenetheridge karenetheridge merged commit 4e3d742 into karenetheridge:master Jul 23, 2019
karenetheridge added a commit that referenced this pull request Jul 23, 2019
@shlomif
Copy link
Author

shlomif commented Jul 23, 2019

@karenetheridge : thanks!

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