emacs-prelude/docs/modules/emacs_lisp.md
Kostas Tsiligkiris 9ed0d772da [DOCS] Fix problem with Edit in github link
The link is created with docs in it, even if the mkdocs.yml file
mentions doc as the documentation folder. I am not aware if there is
any other dependency in the name doc, I have renamed it to docs and
changed it also in the mkdocs.yml file. It seems docs is hardcoded in
the readthedocs theme :(
2022-04-11 09:11:28 +03:00

33 lines
925 B
Markdown

# Prelude Emacs Lisp
!!! Note
This module builds on top of the shared [Lisp Base](lisp.md) module.
## Elisp-mode
The module establishes some sensible defaults for `elisp-mode` and
shortens its modeline name to "EL".
It establishes a few extra keybidings (inspired by SLIME):
* `C-c C-z` (`prelude-visit-ielm`)
* `C-c C-c` (`eval-defun`)
* `C-c C-b` (`eval-buffer`)
The module also enables auto-recompilation of Elisp files on save.
## IELM
IELM is an Elisp REPL bundled with Emacs. Prelude tweaks a bit it's default
configuration to align it with the `elisp-mode` configuration.
## elisp-slime-nav
The module bundles [elisp-slime-nav](https://github.com/purcell/elisp-slime-nav),
which allows you to jump to definitions with `C-.` (use `C-,` to jump back) and describe a symbol with
`C-c C-d (C-)d`.
## Minibuffer evaluation
`smartparens-mode` is conditionally enabled for `eval-expression` (`M-:`) command.