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

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

[nongnu] elpa/xkcd f539b436cc 60/82: Remove xkcd-handle-link parts to pr


From: ELPA Syncer
Subject: [nongnu] elpa/xkcd f539b436cc 60/82: Remove xkcd-handle-link parts to prevent links from being broken.
Date: Mon, 12 Dec 2022 21:59:54 -0500 (EST)

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

    Remove xkcd-handle-link parts to prevent links from being broken.
---
 xkcd.el | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/xkcd.el b/xkcd.el
index 6910aa031a..0c78843ebc 100644
--- a/xkcd.el
+++ b/xkcd.el
@@ -67,12 +67,6 @@ Should preferably be located in `xkcd-cache-dir'."
   :group 'xkcd
   :type 'file)
 
-;;;###autoload
-(defcustom xkcd-handle-links t
-  "If t, Handle xkcd links by opening them with xkcd-get"
-  :group 'xkcd
-  :type 'boolean)
-
 (defun xkcd-get-json (url &optional num)
   "Fetch the Json coming from URL.
 If the file NUM.json exists, use it instead.
@@ -200,6 +194,7 @@ If the image is a gif, animate it."
     (xkcd-get (string-to-number number))))
 
 ;;;###autoload
+(defun xkcd-handle-urls ())
 (setq browse-url-browser-function (if xkcd-handle-links
                                      (lambda (url etc)
                                        (if (string-match "xkcd.com/[0-9]+"



reply via email to

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