From f1856f391bf6311be3a43ec4ee8a07497de8072b Mon Sep 17 00:00:00 2001 From: Holger Dürer Date: Fri, 15 Feb 2019 20:08:28 +0000 Subject: 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. --- lisp/mastodon-client.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lisp/mastodon-client.el') 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") -- cgit v1.2.3