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

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

[nongnu] elpa/webpaste 124ef8b 119/298: Drop usage of concat when return


From: ELPA Syncer
Subject: [nongnu] elpa/webpaste 124ef8b 119/298: Drop usage of concat when returning link to users message field
Date: Thu, 9 Dec 2021 18:59:57 -0500 (EST)

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

    Drop usage of concat when returning link to users message field
---
 test/webpaste-test.el | 2 +-
 webpaste.el           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/webpaste-test.el b/test/webpaste-test.el
index 70005dc..2b98880 100644
--- a/test/webpaste-test.el
+++ b/test/webpaste-test.el
@@ -54,7 +54,7 @@
   ;; Test to return a link and check that the message logged is the expected 
one
   (should (equal
            (webpaste-return-url "https://example.com/";)
-           "Added https://example.com/ to kill ring."))
+           "Added \"https://example.com/\"; to kill ring."))
 
   ;; Check so the kill ring contain the correct contents
   (should (equal (car kill-ring) "https://example.com/";)))
diff --git a/webpaste.el b/webpaste.el
index dee8844..3304c31 100644
--- a/webpaste.el
+++ b/webpaste.el
@@ -203,7 +203,7 @@ return it to the user."
   (kill-new returned-url)
 
   ;; Notify user
-  (message (concat "Added " returned-url " to kill ring.")))
+  (message "Added %S to kill ring." returned-url))
 
 
 



reply via email to

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