branch: elpa/xkcd commit 86acb5dcb260c23e97749c711348a7009fdc4a3a Author: Vibhav Pant <vibh...@gmail.com> Commit: Vibhav Pant <vibh...@gmail.com>
Fix typo in variable name. --- xkcd.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xkcd.el b/xkcd.el index b9d54247c6..1207ebb17f 100644 --- a/xkcd.el +++ b/xkcd.el @@ -197,7 +197,7 @@ If the image is a gif, animate it." (number (substring string 0 (string-match "/" string)))) (xkcd-get (string-to-number number)))) -(setq browse-url-browser-function (if xkcd-handle-link +(setq browse-url-browser-function (if xkcd-handle-links (lambda (url etc) (if (string-match "xkcd.com/[0-9]+" "http://xkcd.com/123/")