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

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

[nongnu] elpa/webpaste ccef003 064/298: Replace away newlines from ix.io


From: ELPA Syncer
Subject: [nongnu] elpa/webpaste ccef003 064/298: Replace away newlines from ix.io output
Date: Thu, 9 Dec 2021 18:59:45 -0500 (EST)

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

    Replace away newlines from ix.io output
---
 webpaste.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/webpaste.el b/webpaste.el
index c986285..52b5f0c 100644
--- a/webpaste.el
+++ b/webpaste.el
@@ -113,7 +113,8 @@ Usage:
       :success
       (cl-function (lambda (&key data &allow-other-keys)
                      (when data
-                       (webpaste-return-url data))))))
+                       (webpaste-return-url
+                        (replace-regexp-in-string "\n$" "" data)))))))
 
     ("dpaste.com" .
      (webpaste-provider



reply via email to

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