diff --git a/src/top/utop.el b/src/top/utop.el index 6e34cfd..f532b25 100644 --- a/src/top/utop.el +++ b/src/top/utop.el @@ -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))