aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authorHolger Durer <hdurer@google.com>2018-03-08 18:06:40 +0000
committerJohnson Denen <johnson.denen@gmail.com>2018-08-10 22:20:04 -0400
commit967d2835da2a77a0f4935a2392f667e0330608c8 (patch)
tree692be019e9f4920308ff16bb65154021ec700f54 /lisp/mastodon-tl.el
parent45b2a2d5821d27468d32d8fb920de218fb503f46 (diff)
Clean up code to remove compilation warnings.
We used to be clean but have slipped recently. Let's clean up the code so it's easier to see real code smell warnings in the compilation.
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index d86135d..4865b4f 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -39,6 +39,7 @@
(autoload 'mastodon-media--get-media-link-rendering "mastodon-media")
(autoload 'mastodon-media--inline-images "mastodon-media")
(autoload 'mastodon-mode "mastodon")
+(defvar mastodon-instance-url)
(defvar mastodon-toot-timestamp-format)
(defvar shr-use-fonts) ;; need to declare it since Emacs24 didn't have this
@@ -392,7 +393,6 @@ links in the text."
keymap
(help-echo (get-text-property start 'help-echo))
extra-properties
- (parsed-url (url-generic-parse-url url))
(toot-url (mastodon-tl--field 'url toot))
(toot-url (when toot-url (url-generic-parse-url toot-url)))
(toot-instance-url (if toot-url