[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/xkcd 2c796bcd0f 81/82: Merge pull request #25 from skangas
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/xkcd 2c796bcd0f 81/82: Merge pull request #25 from skangas/prefer-https |
Date: |
Mon, 12 Dec 2022 22:00:00 -0500 (EST) |
branch: elpa/xkcd
commit 2c796bcd0fb6c627d1a5f6865f8ad38a643b6e63
Merge: 2c538d41a9 ca3eed5603
Author: Vibhav Pant <vibhavp@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #25 from skangas/prefer-https
---
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 b9095c5aae 16/82: Make xkcd-get-latest work., (continued)
- [nongnu] elpa/xkcd b9095c5aae 16/82: Make xkcd-get-latest work., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 2da77a12e2 29/82: Provide xkcd instead of emacs-xkcd, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd e8bb80c4a0 30/82: Make comments work with Melpa., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd b303669b33 39/82: Merge pull request #7 from rafoo/master, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd ef6e51ade7 43/82: Code simplification, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd f2650dc392 46/82: Retrieve correct substring, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 3304f05265 59/82: Autoload xkcd-handle-links., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 60de549e25 63/82: Merge pull request #10 from heikkil/master, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 0310d572b7 68/82: * images/screenshot.png: Add screenshot., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 74b0dfe926 78/82: Retain the quote style when printing messages, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 2c796bcd0f 81/82: Merge pull request #25 from skangas/prefer-https,
ELPA Syncer <=
- [nongnu] elpa/xkcd 296aa18259 47/82: Merge branch 'master' of https://github.com/vibhavp/emacs-xkcd, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd c2be5c6a08 50/82: Merge pull request #8 from rafoo/master, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 9f77f0422f 64/82: Require browse-url for external-browser functions to work., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 6166a690b5 73/82: Add MELPA badge., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 91be72384e 61/82: Open current xkcd in external browser, ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd e0b7938714 54/82: Add docs for xkcd-handle-links., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 7148c2c135 57/82: Add (require 'image) to supress build warnings., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 97235a9fbd 58/82: Add autoloads., ELPA Syncer, 2022/12/12
- [nongnu] elpa/xkcd 763b73d6de 69/82: * README.md: Remove feature from customize table which is still to be added., ELPA Syncer, 2022/12/12