aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-toot.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r--lisp/mastodon-toot.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/mastodon-toot.el b/lisp/mastodon-toot.el
index 983515e..178df56 100644
--- a/lisp/mastodon-toot.el
+++ b/lisp/mastodon-toot.el
@@ -34,7 +34,11 @@
(declare-function emojify-insert-emoji "emojify"))
(require 'cl-lib)
-(require 'company nil :noerror)
+
+(when (require 'company nil :noerror)
+ (declare-function company-mode-on "company")
+ (declare-function company-begin-backend "company")
+ (declare-function company-grab-symbol "company"))
(defvar mastodon-instance-url)
(autoload 'mastodon-auth--user-acct "mastodon-auth")