[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/hiddenquote 5de4c8e 12/14: Tell the hidden-quote source
From: |
Stefan Monnier |
Subject: |
[elpa] externals/hiddenquote 5de4c8e 12/14: Tell the hidden-quote source that we want the JSON content |
Date: |
Tue, 9 Feb 2021 18:06:54 -0500 (EST) |
branch: externals/hiddenquote
commit 5de4c8e1d1c01f132ea708a5720346503810ec7a
Author: Mauro Aranda <maurooaranda@gmail.com>
Commit: Mauro Aranda <maurooaranda@gmail.com>
Tell the hidden-quote source that we want the JSON content
* hiddenquote.el (hiddenquote-get-hidden-quote-puzzle): Bind
url-mime-accept-string to application/json.
---
hiddenquote.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hiddenquote.el b/hiddenquote.el
index 61cf5a3..0423633 100644
--- a/hiddenquote.el
+++ b/hiddenquote.el
@@ -70,6 +70,7 @@
(require 'json)
(defvar json-pretty-print-max-secs) ; json.el
+(defvar url-mime-accept-string) ; url-vars.el
;; Customization.
(defgroup hiddenquote nil
@@ -1160,6 +1161,7 @@ puzzle NÂș."
(url "http://mauroaranda.com/puzzles/hidden-quote-puzzle/")
(file (and num (hiddenquote-expand-puzzle-file-name
(format "%s.ipuz" num) "hidden-quote")))
+ (url-mime-accept-string "application/json")
puzzle)
(if (and file (file-exists-p file)) ; Look for the file locally first.
(progn
- [elpa] branch externals/hiddenquote created (now 2f0c9a8), Stefan Monnier, 2021/02/09
- [elpa] externals/hiddenquote 2643793 02/14: Mark Usage as subheading, Stefan Monnier, 2021/02/09
- [elpa] externals/hiddenquote 2f0c9a8 14/14: ; Mention the origin of this kind of puzzles, Stefan Monnier, 2021/02/09
- [elpa] externals/hiddenquote 5de4c8e 12/14: Tell the hidden-quote source that we want the JSON content,
Stefan Monnier <=
- [elpa] externals/hiddenquote e0e3bbd 10/14: ; Fix typo in README.md, Stefan Monnier, 2021/02/09
- [elpa] externals/hiddenquote 5322eb5 08/14: ; Fix README.md, Stefan Monnier, 2021/02/09
- [elpa] externals/hiddenquote f19e074 05/14: hiddenquote.el: Fix commentary section, Stefan Monnier, 2021/02/09
- [elpa] externals/hiddenquote 9366a25 06/14: Add Makefile and READMEs, Stefan Monnier, 2021/02/09
- [elpa] externals/hiddenquote d6d478b 03/14: Add license, Stefan Monnier, 2021/02/09
- [elpa] externals/hiddenquote d4ded2c 11/14: ; hiddenquote.el: Update URL, Stefan Monnier, 2021/02/09
- [elpa] externals/hiddenquote 3785446 04/14: Sort syllables with collation order in mind, Stefan Monnier, 2021/02/09
- [elpa] externals/hiddenquote 9dac184 01/14: Initial commit, Stefan Monnier, 2021/02/09
- [elpa] externals/hiddenquote 8d3b999 07/14: ; Fix README.md, Stefan Monnier, 2021/02/09
- [elpa] externals/hiddenquote 305f08c 13/14: ; Change Copyright for ELPA inclusion, Stefan Monnier, 2021/02/09