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

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

[nongnu] elpa/xkcd 2c538d41a9 79/82: Merge pull request #18 from kaushal


From: ELPA Syncer
Subject: [nongnu] elpa/xkcd 2c538d41a9 79/82: Merge pull request #18 from kaushalmodi/retain-quote-style-in-messages
Date: Mon, 12 Dec 2022 21:59:58 -0500 (EST)

branch: elpa/xkcd
commit 2c538d41a9728939cc5e8292faa78ed50997877d
Merge: 8f0009f159 74b0dfe926
Author: Vibhav Pant <vibhavp@gmail.com>
Commit: Vibhav Pant <vibhavp@gmail.com>

    Merge pull request #18 from kaushalmodi/retain-quote-style-in-messages
    
    Retain the quote style when printing messages
---
 xkcd.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/xkcd.el b/xkcd.el
index 11ae401d85..20535203d1 100644
--- a/xkcd.el
+++ b/xkcd.el
@@ -172,7 +172,7 @@ If the image is a gif, animate it."
           (setq xkcd-cur num))
       (xkcd-cache-json num out)
       (setq xkcd-alt (cdr (assoc 'alt json-assoc)))
-      (message title))))
+      (message "%s" title))))
 
 (defun xkcd-next (arg)
   "Get next xkcd."
@@ -222,7 +222,7 @@ If the image is a gif, animate it."
 (defun xkcd-alt-text ()
   "View the alt text in the buffer."
   (interactive)
-  (message xkcd-alt))
+  (message "%s" xkcd-alt))
 
 (defun xkcd-kill-buffer ()
   "Kill the xkcd buffer."



reply via email to

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