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

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

[nongnu] elpa/xkcd 97235a9fbd 58/82: Add autoloads.


From: ELPA Syncer
Subject: [nongnu] elpa/xkcd 97235a9fbd 58/82: Add autoloads.
Date: Mon, 12 Dec 2022 21:59:54 -0500 (EST)

branch: elpa/xkcd
commit 97235a9fbd5f891396793f63c7b68819912d041b
Author: Vibhav Pant <vibhavp@gmail.com>
Commit: Vibhav Pant <vibhavp@gmail.com>

    Add autoloads.
---
 xkcd.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/xkcd.el b/xkcd.el
index e9f3d92a27..c97c7247c5 100644
--- a/xkcd.el
+++ b/xkcd.el
@@ -198,6 +198,7 @@ If the image is a gif, animate it."
         (number (substring string 0 (string-match "/" string))))
     (xkcd-get (string-to-number number))))
 
+;;;###autoload
 (setq browse-url-browser-function (if xkcd-handle-links
                                      (lambda (url etc)
                                        (if (string-match "xkcd.com/[0-9]+"
@@ -207,11 +208,13 @@ If the image is a gif, animate it."
                                          'browse-url-default-browser))
                                    'browse-url-default-browser))
 
+;;;###autoload
 (defun xkcd-get-latest ()
   "Get the latest xkcd."
   (interactive)
   (xkcd-get 0))
 
+;;;###autoload
 (defalias 'xkcd 'xkcd-get-latest)
 
 (defun xkcd-get-latest-cached ()



reply via email to

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