diff options
author | mousebot <mousebot@riseup.net> | 2021-10-25 16:37:03 +0200 |
---|---|---|
committer | mousebot <mousebot@riseup.net> | 2021-10-25 16:37:03 +0200 |
commit | a79210d516d59d4603f243299cc0f313200d91f4 (patch) | |
tree | c46005107ab9b020783b5a7162a52fc99109f579 /lisp/mastodon-toot.el | |
parent | f0c6f8a97280fa429c5e8b8a34a03fa887a44937 (diff) |
declare company-mode functions
Diffstat (limited to 'lisp/mastodon-toot.el')
-rw-r--r-- | lisp/mastodon-toot.el | 6 |
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") |