Quantcast
Viewing latest article 13
Browse Latest Browse All 20

ParEdit in the SLIME REPL

I mentioned before that I made ParEdit work in the SLIME REPL. Here's what I added to my .emacs file to activate it:
(autoload 'paredit-mode "paredit"   "Minor mode for pseudo-structurally editing Lisp code."   t) ;(add-hook 'lisp-mode-hook (lambda () (paredit-mode +1))) (mapc (lambda (mode)    (let ((hook (intern (concat (symbol-name mode)    "-mode-hook"))))    (add-hook hook (lambda () (paredit-mode +1)))))    '(emacs-lisp lisp inferior-lisp slime slime-repl))
Taken from http://coding.derkeiler.com/Archive/Lisp/comp.lang.lisp/2007-07/msg01505.html.

Permalink | Leave a comment  »


Viewing latest article 13
Browse Latest Browse All 20

Trending Articles