Skip to content

Commit

Permalink
Ensure auto-complete is enabled properly in slime REPL
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Oct 25, 2010
1 parent 72bd81b commit 9e4d6da
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions init-slime.el
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@
(add-hook 'slime-mode-hook 'set-up-slime-ac)
(add-hook 'slime-repl-mode-hook 'set-up-slime-ac)

(add-hook 'slime-repl-mode-hook (lambda () (auto-complete-mode t)))
(add-hook 'slime-connected-hook
(lambda ()
(define-key slime-repl-mode-map (kbd "TAB") 'indent-or-expand-with-ac)))))
(eval-after-load "auto-complete"
'(add-to-list 'ac-modes 'slime-repl-mode))))



Expand Down

0 comments on commit 9e4d6da

Please sign in to comment.