   (if intero-mode
       (progn (flycheck-select-checker 'intero)
              (flycheck-mode)
-             (add-to-list (make-local-variable 'company-backends) 'company-intero)
+             (add-to-list (make-local-variable 'company-backends) 'intero-company)
              (company-mode)
              (setq-local eldoc-documentation-function 'intero-eldoc))
     (message "Intero mode disabled.")))

                 (-partial 'intero-company-callback
                           (current-buffer)
                           prefix-info))))))))

(defun intero-company-callback (source-buffer prefix-info cont)
  "Generate completions for SOURCE-BUFFER based on PREFIX-INFO and call CONT on the results."

            'intero-linkify-process-output
            t t)
  (setq-local comint-prompt-read-only t)
  (add-to-list (make-local-variable 'company-backends) 'intero-company)
  (company-mode))

(defun intero-repl-mode-start (backend-buffer targets prompt-options)
