aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhiseck Paira <abhiseckpaira@disroot.org>2021-12-28 18:51:39 +0530
committerAbhiseck Paira <abhiseckpaira@disroot.org>2022-01-17 20:27:54 +0530
commit257209846e30e9ad7ac410e7dc7c72ecddb0b6ad (patch)
tree319f6bd637209aafc36eed9d9abd3009076038f7
parent639f89eb714efea5062bdbf21995033f57ea5207 (diff)
define autoloads and defvars to silence the byte compiler
-rw-r--r--lisp/mastodon-auth.el7
-rw-r--r--lisp/mastodon-client.el2
2 files changed, 9 insertions, 0 deletions
diff --git a/lisp/mastodon-auth.el b/lisp/mastodon-auth.el
index 71f790a..72c0333 100644
--- a/lisp/mastodon-auth.el
+++ b/lisp/mastodon-auth.el
@@ -39,7 +39,14 @@
(autoload 'mastodon-http--api "mastodon-http")
(autoload 'mastodon-http--get-json "mastodon-http")
(autoload 'mastodon-http--post "mastodon-http")
+(autoload 'mastodon-http-append-query-string "mastodon-http")
+(autoload 'mastodon-client-store-access-token "mastodon-client")
+(autoload 'mastodon-client-active-user "mastodon-client")
+(autoload 'mastodon-client-make-user-active "mastodon-client")
+(autoload 'mastodon-client-form-user-from-vars "mastodon-client")
(defvar mastodon-instance-url)
+(defvar mastodon-client-scopes)
+(defvar mastodon-client-redirect-uri)
(defgroup mastodon-auth nil
"Authenticate with Mastodon."
diff --git a/lisp/mastodon-client.el b/lisp/mastodon-client.el
index e0ae34c..13e0150 100644
--- a/lisp/mastodon-client.el
+++ b/lisp/mastodon-client.el
@@ -32,8 +32,10 @@
(require 'plstore)
(require 'json)
+(require 'url)
(defvar mastodon-instance-url)
+(defvar mastodon-active-user)
(autoload 'mastodon-http--api "mastodon-http")
(autoload 'mastodon-http--post "mastodon-http")