From 967d2835da2a77a0f4935a2392f667e0330608c8 Mon Sep 17 00:00:00 2001 From: Holger Durer Date: Thu, 8 Mar 2018 18:06:40 +0000 Subject: 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. --- lisp/mastodon-tl.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/mastodon-tl.el') 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 -- cgit v1.2.3