aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-client.el
diff options
context:
space:
mode:
authorHolger Dürer <me@hdurer.net>2019-02-15 20:08:28 +0000
committerJohnson Denen <johnson.denen@gmail.com>2019-03-04 22:44:28 -0500
commitf1856f391bf6311be3a43ec4ee8a07497de8072b (patch)
treea62e66db59a6d595ef7382c0195b39c4e5c3955b /lisp/mastodon-client.el
parent48356b2b26476697f0ef540b8a4087542365f1d0 (diff)
Explitly require json.el in files where we dynamically bind its vars.
As pointed out in issue #211 the compiler actually warned the user about `json-array-type` etc. being unused lexical vars. Let's hope that this fixes the errors reported with reading json.
Diffstat (limited to 'lisp/mastodon-client.el')
-rw-r--r--lisp/mastodon-client.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/mastodon-client.el b/lisp/mastodon-client.el
index 52eaae9..0411937 100644
--- a/lisp/mastodon-client.el
+++ b/lisp/mastodon-client.el
@@ -30,6 +30,8 @@
;;; Code:
(require 'plstore)
+(require 'json)
+
(defvar mastodon-instance-url)
(autoload 'mastodon-http--api "mastodon-http")
(autoload 'mastodon-http--post "mastodon-http")