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

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

[nongnu] elpa/webpaste 7d03ed3 137/298: Removed unused variables defined


From: ELPA Syncer
Subject: [nongnu] elpa/webpaste 7d03ed3 137/298: Removed unused variables defined in function declaration
Date: Thu, 9 Dec 2021 19:00:00 -0500 (EST)

branch: elpa/webpaste
commit 7d03ed3e87746b397c7ce35627c27c3e2c654862
Author: Elis Axelsson <elis.axelsson@gmail.com>
Commit: Elis Axelsson <elis.axelsson@gmail.com>

    Removed unused variables defined in function declaration
---
 webpaste.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/webpaste.el b/webpaste.el
index e9cceaa..fa7e5cf 100644
--- a/webpaste.el
+++ b/webpaste.el
@@ -259,10 +259,7 @@ Optional params:
      ,(webpaste-provider
        :uri "https://api.github.com/gists";
        :post-field nil
-       :post-field-lambda (cl-function (lambda (&key text
-                                                post-field
-                                                (post-data '())
-                                                &allow-other-keys)
+       :post-field-lambda (cl-function (lambda (&key text &allow-other-keys)
                                          (let ((filename (or 
(file-name-nondirectory (buffer-file-name)) "file.txt")))
                                            (json-encode `(("description" . 
"Pasted from Emacs with webpaste.el")
                                                           ("public" . "false")



reply via email to

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