From 72ba31e5acb424cc3f87fb9c05233729722ef98e Mon Sep 17 00:00:00 2001 From: Elis Axelsson Date: Sat, 29 Apr 2017 13:43:00 +0200 Subject: [PATCH] Bump version for new release --- webpaste.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webpaste.el b/webpaste.el index b2053aa..6f13bb8 100644 --- a/webpaste.el +++ b/webpaste.el @@ -4,8 +4,8 @@ ;; Author: Elis "etu" Axelsson ;; URL: https://github.com/etu/webpaste.el -;; Package-Version: 1.2.1 -;; Version: 1.2.1 +;; Package-Version: 1.2.2 +;; Version: 1.2.2 ;; Keywords: convenience, comm, paste ;; Package-Requires: ((emacs "24.4") (request "0.2.0") (cl-lib "0.5") (json "1.4")) @@ -92,6 +92,7 @@ each run.") (replace-regexp-in-string "\n$" "" data))))) "Predefined success callback for providers returning a string with URL.") + (defvar webpaste/providers-default-post-field-lambda (lambda (text post-field post-data) (cl-pushnew (cons post-field text) post-data) @@ -130,7 +131,7 @@ Optional params: :post-data Default post fields sent to service. Defaults to nil. :parser Defines how request.el parses the result. Look up :parser for - `request'. This defaults to 'buffer-string. + `request'. This defaults to 'buffer-string. :error-lambda Callback sent to `request', look up how to write these in the documentation for `request'. The default value for this is @@ -209,7 +210,6 @@ Optional params: (("file.txt" . (("content" . ,text)))))))) :success-lambda (cl-function (lambda (&key data &allow-other-keys) - (message "fubar") (when data (webpaste-return-url (cdr (assoc 'html_url (json-read-from-string data))))))))))