Skip to content

Commit

Permalink
Add emacs slime setup
Browse files Browse the repository at this point in the history
  • Loading branch information
simendsjo committed Mar 11, 2024
1 parent 188ad71 commit 9e59163
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ Load library
#+begin_src lisp
(ql:quickload :sijo-doctest)
#+end_src
** Emacs integration
*** Slime
Thanks to [[https://emacs.ch/@louis/112020623559150335][@[email protected]]]:
#+begin_src elisp
(defun sijo-test-package ()
(interactive)
(slime-eval-with-transcript `(sijo-doctest:test-package ,(read (slime-find-buffer-package)))))

(define-key slime-mode-map (kbd "C-c t") 'sijo-test-package)
#+end_src

** Usage
Write some doctests
Expand Down

0 comments on commit 9e59163

Please sign in to comment.