[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/xkcd ca3eed5603 80/82: Prefer HTTPS to HTTP
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/xkcd ca3eed5603 80/82: Prefer HTTPS to HTTP |
Date: |
Mon, 12 Dec 2022 21:59:59 -0500 (EST) |
branch: elpa/xkcd
commit ca3eed560361fad276a1e1c6fd0104ce902f358a
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>
Prefer HTTPS to HTTP
---
xkcd.el | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/xkcd.el b/xkcd.el
index 20535203d1..7d5d034045 100644
--- a/xkcd.el
+++ b/xkcd.el
@@ -4,13 +4,13 @@
;; Url: https://github.com/vibhavp/emacs-xkcd
;; Author: Vibhav Pant <vibhavp@gmail.com>
-;; Version: 1.0
+;; Version: 1.1
;; Package-Requires: ((json "1.3"))
;; Keywords: xkcd webcomic
;;; Commentary:
-;; emacs-xkcd uses the JSON interface provided by xkcd (http://xkcd.com)
+;; emacs-xkcd uses the JSON interface provided by xkcd (https://xkcd.com)
;; to fetch comics.
;; Comics can be viewed offline as they are stored by default in
;; ~/.emacs.d/xkcd/
@@ -30,7 +30,7 @@
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
-;; along with this program. If not, see <http://www.gnu.org/licenses/>.
+;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Code:
(require 'json)
@@ -40,7 +40,7 @@
;;;###autoload
(define-derived-mode xkcd-mode special-mode "xkcd"
- "Major mode for viewing xkcd (http://xkcd.com/) comics."
+ "Major mode for viewing xkcd (https://xkcd.com/) comics."
:group 'xkcd)
(define-key xkcd-mode-map (kbd "<right>") 'xkcd-next)
@@ -152,8 +152,8 @@ If the image is a gif, animate it."
(erase-buffer)
(setq xkcd-cur num)
(let* ((url (if (eq num 0)
- "http://xkcd.com/info.0.json"
- (format "http://xkcd.com/%d/info.0.json" num)))
+ "https://xkcd.com/info.0.json"
+ (format "https://xkcd.com/%d/info.0.json" num)))
(out (xkcd-get-json url num))
(json-assoc (json-read-from-string out))
(img (cdr (assoc 'img json-assoc)))
@@ -193,7 +193,7 @@ If the image is a gif, animate it."
(defun xkcd-rand ()
"Show random xkcd."
(interactive)
- (let* ((url "http://xkcd.com/info.0.json")
+ (let* ((url "https://xkcd.com/info.0.json")
(last (cdr (assoc 'num (json-read-from-string
(xkcd-get-json url 0))))))
(xkcd-get (random last))))
@@ -239,19 +239,19 @@ If the image is a gif, animate it."
(defun xkcd-open-browser ()
"Open current xkcd in default browser"
(interactive)
- (browse-url-default-browser (concat "http://xkcd.com/"
+ (browse-url-default-browser (concat "https://xkcd.com/"
(number-to-string xkcd-cur))))
(defun xkcd-open-explanation-browser ()
"Open explanation of current xkcd in default browser"
(interactive)
- (browse-url-default-browser (concat
"http://www.explainxkcd.com/wiki/index.php/"
+ (browse-url-default-browser (concat
"https://www.explainxkcd.com/wiki/index.php/"
(number-to-string xkcd-cur))))
(defun xkcd-copy-link ()
"Save the link to the current comic to the kill-ring."
(interactive)
- (let ((link (concat "http://xkcd.com/"
+ (let ((link (concat "https://xkcd.com/"
(number-to-string xkcd-cur))))
(kill-new link)
(message link)))
- [nongnu] elpa/xkcd 8f0009f159 77/82: Merge pull request #16 from kaushalmodi/next-prev-args-and-copy-link, (continued)
- [nongnu] elpa/xkcd 8f0009f159 77/82: Merge pull request #16 from kaushalmodi/next-prev-args-and-copy-link, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 4845ef86f1 76/82: Add prefix arg to next/prev fn, add copy-link fn, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 2c538d41a9 79/82: Merge pull request #18 from kaushalmodi/retain-quote-style-in-messages, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd b9a3dfa150 33/82: Add docstring for xkcd-alt-text., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 4d280972bc 35/82: Add (xkcd-update-latest) to xkcd-get., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd b966b340b4 22/82: Rename to xkcd.el, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd e04bb9535d 44/82: Incorporate some changes from rafoo's branch., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 57659266fa 65/82: Fix jpg viewing issue., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd a55c3f7dcd 75/82: Add faces to comic title., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 80011da2e7 82/82: Update copyright years., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd ca3eed5603 80/82: Prefer HTTPS to HTTP,
ELPA Syncer <=
- [nongnu] elpa/xkcd 5c10f6a679 21/82: Merge pull request #4 from purcell/patch-1, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 25594f98c7 31/82: Add info about Melpa in README., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 52c0d270de 36/82: Use one-letter keybindings, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 20e0b48044 42/82: Correct flycheck warnings, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd f5942003bf 45/82: Fix xkcd-get-json, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 3c13ae29c4 49/82: Docstrings, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd e2daa08012 25/82: Add a better screenshot., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd df47be622f 28/82: The package isn't that hackish now., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd d1bc89dee2 34/82: Add variable xkcd-latest: Stores the latest cached xkcd number., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 7b1a312239 37/82: Add an help-echo text property to display the alt-text, ELPA Syncer, 2022/12/12