[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/webpaste 5505685 226/298: Drop simpleclip support
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/webpaste 5505685 226/298: Drop simpleclip support |
Date: |
Thu, 9 Dec 2021 19:00:19 -0500 (EST) |
branch: elpa/webpaste
commit 5505685f9f579d9e3583335bf4cfdf739589d070
Author: Elis Hirwing <elis@hirwing.se>
Commit: Elis Hirwing <elis@hirwing.se>
Drop simpleclip support
---
README.org | 9 +++++----
webpaste.el | 15 ---------------
2 files changed, 5 insertions(+), 19 deletions(-)
diff --git a/README.org b/README.org
index a5e36cc..ece5046 100644
--- a/README.org
+++ b/README.org
@@ -99,12 +99,13 @@ If you have
[[https://github.com/rolandwalker/simpleclip][simpleclip]] installed
clipboard. You can enable this with
#+BEGIN_SRC emacs-lisp
-(setq webpaste-copy-to-clipboard t)
+ ;; To build your own hook to use simpleclip, you could do like this:
+ (add-hook 'webpaste-return-url-hook
+ (lambda (url)
+ (message "Copied URL to clipboard: %S" url)
+ (simpleclip-set-contents url)))
#+END_SRC
-Warning: This option is deprecated and will be dropped in the future. Please
-use a custom hook instead.
-
*** Open the recently created paste in the browser
To enable opening of recently created pastes in an external browser, you can
enable the option =webpaste-open-in-browser= by setting this value to a
diff --git a/webpaste.el b/webpaste.el
index dea11af..b87405b 100644
--- a/webpaste.el
+++ b/webpaste.el
@@ -68,16 +68,6 @@ This uses `browse-url-generic' to open URLs."
:type 'boolean)
-(defcustom webpaste-copy-to-clipboard nil
- "Uses simpleclip to send the provider's returned URL to the clipboard.
-This uses `simpleclip-set-contents' to copy to clipboard.
-
-Warning: This option is deprecated and will be dropped in the future. Please
-use a hook with `webpaste-return-url-hook' in the future."
- :group 'webpaste
- :type 'boolean)
-
-
(defcustom webpaste-add-to-killring t
"Add the returned URL to the killring after paste."
:group 'webpaste
@@ -431,11 +421,6 @@ Optional params:
(when webpaste-open-in-browser
(browse-url-generic returned-url))
- ;; Send RETURNED-URL to the clipboard using simpleclip
- (when webpaste-copy-to-clipboard
- (simpleclip-set-contents returned-url)
- (message "URL copied to clipboard. -- Warning: This option is deprecated,
please use a hook instead."))
-
;; Add RETURNED-URL to killring for easy pasting
(when webpaste-add-to-killring
(kill-new returned-url)
- [nongnu] elpa/webpaste 01c2858 261/298: Fix typos, (continued)
- [nongnu] elpa/webpaste 01c2858 261/298: Fix typos, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste e7fed98 246/298: Reindent entire webpaste.el to match updated indentation style, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 9d3c866 233/298: WP-25: Implement support for raw pastes, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste ef33b0f 269/298: Fix provider definition issue and add test for paste.mozilla.org, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste b713d5e 259/298: travis: Drop tests for versions where cask seems to be incompatible, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 2decf1e 276/298: Revert "Fix bug in webpaste-paste-buffer-or-region when you don't have a region", ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 1600425 291/298: Merge branch 'dsedivec-master', ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste bbdc5e5 296/298: providers: Drop paste.pound-python.org, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 49a7123 236/298: Add missing TOC link about raw pastes, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste e0a35fd 232/298: WP-25: Add test for raw pastes, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 5505685 226/298: Drop simpleclip support,
ELPA Syncer <=
- [nongnu] elpa/webpaste 7397cbc 220/298: Fix duplicate elements added to alists, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 69a8eed 240/298: Merge branch 'kaushalmodi-add-toml-lang-to-ptpbpw-default', ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 01a65a0 262/298: Merge branch 'DamienCassou-typos', ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste ed33094 266/298: Support mozilla hosted pastebin service, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste badf3b5 257/298: nix-shell: Improve the shell so all tests just runs, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 933c62f 245/298: CONTRIBUTING: Add some more clarifications, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 01fd1d6 231/298: WP-25: Add custom to only paste raw pastes, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 77e6154 193/298: Bump version for new release, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 157d524 206/298: Fix build since EVM and Cask seems to behave strangely lately, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste a5d0ba1 237/298: Add nix-mode mapping for nix language files for ptpb.pw and ix.io, ELPA Syncer, 2021/12/09