utop.el: Placate byte-compiler

This commit is contained in:
Brian Leung 2020-11-08 11:36:12 -08:00
parent 7bc5117d34
commit 71faa5fb62
1 changed files with 5 additions and 0 deletions

View File

@ -1132,6 +1132,8 @@ See https://github.com/diml/utop for configuration information."))
;; Load local file variables
(add-hook 'hack-local-variables-hook 'utop-hack-local-variables))
(defvar company-backends)
;;;###autoload
(define-derived-mode utop-mode fundamental-mode "utop"
"Set the buffer mode to utop."
@ -1216,6 +1218,9 @@ Special keys for utop:
(with-current-buffer buf (utop-mode)))))
buf))
(declare-function company-begin-backend "ext:company")
(declare-function company-grab-symbol-cons "ext:company")
(defun utop-company-backend (command &optional _arg &rest ignored)
"company backend for utop completions"
(interactive (list 'interactive))