emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/webpaste f32fe7acec 1/4: add paste.ubuntu.com to supported


From: ELPA Syncer
Subject: [nongnu] elpa/webpaste f32fe7acec 1/4: add paste.ubuntu.com to supported pastebins
Date: Tue, 24 May 2022 13:58:54 -0400 (EDT)

branch: elpa/webpaste
commit f32fe7acece0c8a0dd1de79f3a344d9c00a9fb57
Author: Alberto Donato <alberto.donato@gmail.com>
Commit: Alberto Donato <alberto.donato@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]