Add SLIME documentation contribs
This commit is contained in:
parent
454b778011
commit
28406890a4
28
config.org
28
config.org
@ -700,6 +700,34 @@
|
||||
(add-to-list 'slime-contribs 'slime-asdf)
|
||||
#+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= is generally very useful for balancing parenthesis so we
|
||||
want that turned on for all the lisps. Additionally, it's nice to have
|
||||
|
Loading…
x
Reference in New Issue
Block a user