commit 5d6be673035bc54a9a3df7c2b1238cd72ef38d6c parent cf6a1b5b8be6f645b35fbb7b4331013f0ea92511 Author: Tomas Hlavaty <tom@logand.com> Date: Tue, 26 Apr 2011 22:23:36 +0200 comment about .emacs updated Diffstat:
M | swank-picolisp.l | | | 13 | ++++++++----- |
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/swank-picolisp.l b/swank-picolisp.l @@ -1,12 +1,15 @@ ### -*- picolisp -*- - -## Note: this is the first sketch which only establishes connection -## between slime and picolisp. Next thing to do is to implement the -## sexp based swank protocol and ideally debugger support. - +## ## Put the following code in your .emacs file: ## ## --- start .emacs --- +## +## (add-to-list 'load-path "~/path/to/picolisp/lib/el/") +## (require 'picolisp) +## (add-to-list 'auto-mode-alist '("\\.l\\'" . picolisp-mode)) +## +## (add-hook 'picolisp-mode-hook (lambda () (slime-mode 1))) +## ## (setq slime-lisp-implementations ## `((picolisp ("/path/to/picolisp/p") :init slime-init-picolisp))) ##