branch: elpa/xkcd commit e8bb80c4a0c135a6e3d78086ea7f792ab446db15 Author: Vibhav Pant <vibh...@gmail.com> Commit: Vibhav Pant <vibh...@gmail.com>
Make comments work with Melpa. --- xkcd.el | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/xkcd.el b/xkcd.el index ba5622c5dd..c21abb7180 100644 --- a/xkcd.el +++ b/xkcd.el @@ -1,5 +1,6 @@ ;;; xkcd.el --- View xkcd from Emacs -;;; Copyright 2014 Vibhav Pant <vibh...@gmail.com> + +;;; Copyright (C) 2014 Vibhav Pant <vibh...@gmail.com> ;; Url: https://github.com/vibhavp/emacs-xkcd ;; Author: Vibhav Pant <vibh...@gmail.com> @@ -7,8 +8,17 @@ ;; Package-Requires: ((json "1.4")) ;; Keywords: xkcd webcomic +;;; Commentary: + +;; emacs-xkcd uses the JSON interface provided by xkcd (http://xkcd.com) +;; to fetch comics. +;; Comics can be viewed offline as they are stored by default in +;; ~/.emacs.d/xkcd/ +;; For more information, visit https://github.com/vibhavp/emacs-xkcd ;; This file is not a part of GNU Emacs. +;;; License: + ;; This program is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or @@ -22,16 +32,7 @@ ;; You should have received a copy of the GNU General Public License ;; along with this program. If not, see <http://www.gnu.org/licenses/>. -;;; Commentary: - -;; emacs-xkcd uses the JSON interface provided by xkcd (http://xkcd.com) -;; to fetch comics. - -;; Comics can be viewed offline as they are stored by default in -;; ~/.emacs.d/xkcd/ - -;; For more information, visit https://github.com/vibhavp/emacs-xkcd - +;;; Code: (require 'json) (require 'url)