diff options
author | Holger Dürer <me@hdurer.net> | 2017-05-16 21:09:58 +0100 |
---|---|---|
committer | Johnson Denen <johnson.denen@gmail.com> | 2017-05-18 10:21:21 -0400 |
commit | fe8e4386eacb358df0e16dc5bd37dde4f4d6d57c (patch) | |
tree | 2329c867ca4d8434e6e2200aae4f827e7f2a9165 /lisp/mastodon-inspect.el | |
parent | 5f41086d3a03e8781aab77ab17f4d4f95263e07c (diff) |
Remove most byte-compile warnings.
We do this by
- moving vars into the files where they are (mostly) used
- "declaring" vars used elsewhere with the (defvar <var-name>) pattern,
- declaring functions defined in others functions rather than loading the file via require.
Diffstat (limited to 'lisp/mastodon-inspect.el')
-rw-r--r-- | lisp/mastodon-inspect.el | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/mastodon-inspect.el b/lisp/mastodon-inspect.el index c12273e..f5fcd81 100644 --- a/lisp/mastodon-inspect.el +++ b/lisp/mastodon-inspect.el @@ -28,8 +28,12 @@ ;; Some tools to help inspect / debug mastodon.el ;;; Code: - -(require 'mastodon-tl nil t) +(declare-function mastodon-http--api "mastodon-http") +(declare-function mastodon-http--get-json "mastodon-http") +(declare-function mastodon-media--inline-images "mastodon-media") +(declare-function mastodon-mode "mastodon") +(declare-function mastodon-tl--property "mastodon-tl") +(declare-function mastodon-tl--toot "mastodon-tl") (defgroup mastodon-inspect nil "Tools to help inspect toots." |