branch: elpa/webpaste commit f32fe7acece0c8a0dd1de79f3a344d9c00a9fb57 Author: Alberto Donato <alberto.don...@gmail.com> Commit: Alberto Donato <alberto.don...@gmail.com>
add paste.ubuntu.com to supported pastebins --- webpaste.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/webpaste.el b/webpaste.el index 769ab2ec34..07a850f783 100644 --- a/webpaste.el +++ b/webpaste.el @@ -133,6 +133,14 @@ This uses `browse-url-generic' to open URLs." :lang-overrides ((emacs-lisp-mode . "clojure")) :success-lambda webpaste--providers-success-returned-string) + ("paste.ubuntu.com" + :uri "https://paste.ubuntu.com/" + :post-data (("poster" . "webpaste")) ;; the poster is required + :post-field "content" + :post-lang-field-name "syntax" + :lang-overrides ((emacs-lisp-mode . "emacs")) + :success-lambda webpaste--providers-success-response-url) + ("gist.github.com" :uri "https://api.github.com/gists" :post-field nil