Add SLIME documentation contribs

This commit is contained in:
Camden Dixie O'Brien 2021-01-01 00:00:37 +00:00
parent 454b778011
commit 28406890a4

View File

@ -700,6 +700,34 @@
(add-to-list 'slime-contribs 'slime-asdf) (add-to-list 'slime-contribs 'slime-asdf)
#+end_src #+end_src
**** Documentation
[[https://github.com/mmontone/slime-doc-contribs][slime-doc-contribs]] provides two useful SLIME contribs,
. Following the installation instructions on GitHub, the first
thing to do is clone the repo from GitHub:
#+begin_src shell :dir ~/src :tangle no
git clone --recursive https://github.com/mmontone/slime-doc-contribs
#+end_src
The =--recursive= flag is needed as the repo has
submodules.
The following lines then have to be added to =~/.sbclrc=:
#+begin_src common-lisp :tangle no
(require :swank)
(push #p"/home/cdo/src/slime-doc-contribs/" swank::*load-path*)
#+end_src
With that done, the source directory must be added to [[help:load-path][load-path]],
and the two contribs must be enabled.
#+begin_src emacs-lisp
(add-to-list 'load-path "~/src/slime-doc-contribs")
(add-to-list 'slime-contribs 'slime-help 'slime-info)
(slime-setup)
#+end_src
*** Paredit *** Paredit
=paredit= is generally very useful for balancing parenthesis so we =paredit= is generally very useful for balancing parenthesis so we
want that turned on for all the lisps. Additionally, it's nice to have want that turned on for all the lisps. Additionally, it's nice to have