Plug slime completion into Emacs' "hippie-expand"
Emacs Lisp
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

completion source for Emacs hippie-expand

This plugin provides a completion source for Emacs' built-in hippie-expand auto-completion framework.


First, ensure slime is installed: I recommend using packages MELPA.

You'll need slime to be enabled and working, so please consult the corresponding documentation is you have any trouble with this.

Next, install hippie-expand-slime. If you choose not to use the convenient package in MELPA, you'll need to add the directory containing hippie-expand-slime.el to your load-path, and then (require 'hippie-expand-slime).

hippie-expand-slime provides a couple of slime-specific completion sources, so auto-complete needs to be told to use them when slime-mode is active. To do this, put the following code in your emacs init file to

(add-hook 'slime-mode-hook 'set-up-slime-hippie-expand)
(add-hook 'slime-repl-mode-hook 'set-up-slime-hippie-expand))


hippie-expand-slime should now automatically be enabled when you visit a buffer in which slime-mode is active.

Simply trigger hippie-expand, and completion candidates supplied by slime should be inserted.


See also ac-slime, which does the same thing but with the auto-complete library.

Steve Purcell's blog // @sanityinc on Twitter