ashinn / scheme-complete

Automatically exported from code.google.com/p/scheme-complete

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage/installation question

jasonhemann opened this issue · comments

Hey Alex,

I'm having trouble with the setup or configuration.

After adding the following to my .emacs and loading:


(autoload 'scheme-smart-complete "scheme-complete" nil t)

(eval-after-load 'scheme
  '(define-key scheme-mode-map "\t" 'scheme-complete-or-indent))

(autoload 'scheme-get-current-symbol-info "scheme-complete" nil t)
(add-hook 'scheme-mode-hook
  (lambda ()
    (make-local-variable 'eldoc-documentation-function)
    (setq eldoc-documentation-function 'scheme-get-current-symbol-info)
    (eldoc-mode)))

(setq lisp-indent-function 'scheme-smart-indent-function)

When I <tab> in a file in scheme-mode, the minibuffer alerts me that

Wrong type argument: commandp, scheme-complete-or-indent

I checked myself, and (commandp 'scheme-complete-or-indent) is in fact nil.

Advice?