Slime-style navigation for Emacs Lisp
Slime allows very convenient navigation to the symbol at point (using M-.), and the ability to pop back to previous marks (using M-,).
This plugin provides similar navigation for Emacs Lisp, supporting navigation to the definitions of variables, functions, libraries and faces.
elisp-slime-nav provides a way to describe the symbol
at point, whatever its type. As with
functionality is bound both to C-c C-d d and C-c C-d
C-d by default.
elisp-slime-nav.el is in a directory on your load-path, and
add the following to your
(require 'elisp-slime-nav) (dolist (hook '(emacs-lisp-mode-hook ielm-mode-hook)) (add-hook hook 'elisp-slime-nav-mode))
If you're an Emacs 24 user or you have a recent version of
package.el you can install
elisp-slime-nav from the
MELPA repository. The version of
elisp-slime-nav there will always be up-to-date. There are also
packages in Marmalade.
ielm by adding
code such as the following to your emacs startup file:
(dolist (hook '(emacs-lisp-mode-hook ielm-mode-hook)) (add-hook hook 'turn-on-elisp-slime-nav-mode))
Author: Steve Purcell
This little library was extracted from the author's full Emacs configuration, which readers might find of interest.