Merge pull request #340 from leungbk/byte-comp
utop.el: Placate byte-compiler
This commit is contained in:
commit
b2f15bff67
|
@ -1139,6 +1139,8 @@ See https://github.com/diml/utop for configuration information."))
|
||||||
;; Load local file variables
|
;; Load local file variables
|
||||||
(add-hook 'hack-local-variables-hook 'utop-hack-local-variables))
|
(add-hook 'hack-local-variables-hook 'utop-hack-local-variables))
|
||||||
|
|
||||||
|
(defvar company-backends)
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(define-derived-mode utop-mode fundamental-mode "utop"
|
(define-derived-mode utop-mode fundamental-mode "utop"
|
||||||
"Set the buffer mode to utop."
|
"Set the buffer mode to utop."
|
||||||
|
@ -1223,6 +1225,9 @@ Special keys for utop:
|
||||||
(with-current-buffer buf (utop-mode)))))
|
(with-current-buffer buf (utop-mode)))))
|
||||||
buf))
|
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)
|
(defun utop-company-backend (command &optional _arg &rest ignored)
|
||||||
"company backend for utop completions"
|
"company backend for utop completions"
|
||||||
(interactive (list 'interactive))
|
(interactive (list 'interactive))
|
||||||
|
|
Loading…
Reference in New Issue