Hi!

Yesterday I installed Slime & Clojure via ELPA. Unfortunately, the
REPL had no indent support for [] and {}. So this workaround runs in a
slime-repl-mode-hook:

(defun set-clojure-brackets ()
  (interactive)
  (set-syntax-table clojure-mode-syntax-table)
  (set (make-local-variable 'lisp-indent-function)
       'clojure-indent-function))

Runs fine. (So far.) But how to integrate this cleanly into slime-
repl.el... or wherever it belongs? I'm guessing that simply sticking
it in slime-repl-mode() would mess up the REPL for other Lisp users?


Thanks for any advice,
Tayssir

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to