[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/webpaste aff4e42 124/298: The error-lambda now has a defau
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/webpaste aff4e42 124/298: The error-lambda now has a default value and is now optional |
Date: |
Thu, 9 Dec 2021 18:59:58 -0500 (EST) |
branch: elpa/webpaste
commit aff4e4273554f8dce69b283285db222bb73fd3e9
Author: Elis Axelsson <elis.axelsson@gmail.com>
Commit: Elis Axelsson <elis.axelsson@gmail.com>
The error-lambda now has a default value and is now optional
---
webpaste.el | 19 +++++++------------
1 file changed, 7 insertions(+), 12 deletions(-)
diff --git a/webpaste.el b/webpaste.el
index 09cd686..3d5239b 100644
--- a/webpaste.el
+++ b/webpaste.el
@@ -108,7 +108,7 @@ each run.")
(sync nil)
post-field
(post-field-lambda
webpaste/providers-default-post-field-lambda)
- error-lambda
+ (error-lambda
webpaste/providers-error-lambda)
success-lambda)
"Function to create the lambda function for a provider.
@@ -130,7 +130,7 @@ Usage:
:success-lambda Callback sent to `request', look up how to write these in the
documentation for `request'.
:error-lambda Callback sent to `request', look up how to write these in the
- documentation for `request'. A good default value forr this is
+ documentation for `request'. The default value for this is
`webpaste/providers-error-lambda', but there's also
`webpaste/providers-error-lambda-no-failover' available if you
need a provider that isn't allowed to failover."
@@ -155,22 +155,19 @@ Usage:
,(webpaste-provider
:uri "https://ptpb.pw/"
:post-field "c"
- :success-lambda webpaste/providers-success-location-header
- :error-lambda webpaste/providers-error-lambda))
+ :success-lambda webpaste/providers-success-location-header))
("ix.io"
,(webpaste-provider
:uri "http://ix.io/"
:post-field "f:1"
- :success-lambda webpaste/providers-success-returned-string
- :error-lambda webpaste/providers-error-lambda))
+ :success-lambda webpaste/providers-success-returned-string))
("sprunge.us"
,(webpaste-provider
:uri "http://sprunge.us/"
:post-field "sprunge"
- :success-lambda webpaste/providers-success-returned-string
- :error-lambda webpaste/providers-error-lambda))
+ :success-lambda webpaste/providers-success-returned-string))
("dpaste.com"
,(webpaste-provider
@@ -180,8 +177,7 @@ Usage:
("poster" . "")
("expiry_days" . 1))
:post-field "content"
- :success-lambda webpaste/providers-success-location-header
- :error-lambda webpaste/providers-error-lambda))
+ :success-lambda webpaste/providers-success-location-header))
("dpaste.de"
,(webpaste-provider
@@ -190,8 +186,7 @@ Usage:
("format" . "url")
("expires" . 86400))
:post-field "content"
- :success-lambda webpaste/providers-success-returned-string
- :error-lambda webpaste/providers-error-lambda)))
+ :success-lambda webpaste/providers-success-returned-string)))
"Define all webpaste.el providers.
Consists of provider name and lambda function to do the actuall call to the
- [nongnu] elpa/webpaste 62e0f33 165/298: Refactor default post field lambda, (continued)
- [nongnu] elpa/webpaste 62e0f33 165/298: Refactor default post field lambda, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 6e116ea 166/298: Merge branch 'refactor-away-defvars', ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 1677cd2 171/298: Added stuff to Makefile to run integration tests, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 51a6a07 174/298: Fixed broken message format, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 6086556 180/298: Added integration tests for dpaste.com, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 44364f4 109/298: Rename parameter domain to uri for webpaste-provider, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 1a1144f 110/298: Exposed sync parameter of request for debugging/test purposes, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste d9529de 112/298: Replaced (if (eq VAR nil)) with (unless VAR), ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 1bfa9ec 120/298: Bump version for stable release and copyright year, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 6ea53d0 123/298: Added support for custom handler of how to build the post data for providers, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste aff4e42 124/298: The error-lambda now has a default value and is now optional,
ELPA Syncer <=
- [nongnu] elpa/webpaste 2dc2206 126/298: Added github anonymous gists as provider. This fixes #8., ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste b3bcde1 128/298: Updated some docs that was missed before release..., ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 0fa48e2 129/298: Switch github pastes to not be public. This fixes #9., ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 4e58b0a 131/298: Fix bug in link returned from dpaste.de, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste b35b30d 134/298: Added documentation for how to configure provider priority, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 70e8fd0 135/298: Bump version for new release, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste b03b90f 138/298: Add confirmation dialog of paste, before pasting, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste f0a36e2 140/298: Added some docs of how to enable the confirmation dialog before pasting, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 272757b 056/298: Change documentation string, ELPA Syncer, 2021/12/09
- [nongnu] elpa/webpaste 58f66ef 069/298: Bump version to prepare for melpa stable, ELPA Syncer, 2021/12/09