commit 77e326818133d25619e8f2fd22938d39d0ff50ed parent 3a90ac28b5aeb621d484637aa81519327a0342f9 Author: Tomas Hlavaty <tom@logand.com> Date: Sat, 19 Feb 2011 01:50:00 +0100 .emacs example added Diffstat:
M | swank-picolisp.l | | | 18 | +++++++++++++----- |
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/swank-picolisp.l b/swank-picolisp.l @@ -1,9 +1,17 @@ -# -*- picolisp -*- +### -*- picolisp -*- -## (de start-swank (PortFile) -## (if (num? PortFile) -## (print "Listening on port " PortFile) -## (print "Talking via file " PortFile) ) ) +## Put the following code in your .emacs file: +## +## --- start .emacs --- +## (setq slime-lisp-implementations +## `((picolisp ("/path/to/picolisp/p") :init slime-init-picolisp))) +## +## (defun slime-init-picolisp (file _) +## (setq slime-protocol-version 'ignore) +## (format "%S\n" +## `(prog (load ,(expand-file-name "/path/to/swank-picolisp.l")) +## (start-swank ,file)))) +## --- end .emacs --- (de swank (Port) (default Port 4005)