branch: elpa/xkcd
commit 11c428c1b716fc43209cd55d38a490a4f2593767
Author: Vibhav Pant <[email protected]>
Commit: Vibhav Pant <[email protected]>

    Fix xkcd-rand.
---
 emacs-xkcd.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emacs-xkcd.el b/emacs-xkcd.el
index 5d9bed0460..da7c6e38c9 100644
--- a/emacs-xkcd.el
+++ b/emacs-xkcd.el
@@ -113,7 +113,7 @@
   "Show random xkcd"
   (interactive)
   (xkcd-get (random (cdr (assoc 'num (json-read-from-string
-                                     (xkcd-get-json 
"http://xkcd.com/info.0.json";)))))))
+                                     (xkcd-get-json 
"http://xkcd.com/info.0.json"; 0)))))))
   
 (defun xkcd-get-latest ()
   "Get the latest xkcd"

Reply via email to