Skip to content
This repository has been archived by the owner on Jan 23, 2018. It is now read-only.

Commit

Permalink
Synching the Clojure REPL's syntax-table with clojure-mode's syntax-t…
Browse files Browse the repository at this point in the history
…able.
  • Loading branch information
tayssir authored and technomancy committed Mar 13, 2010
1 parent adc0adc commit 1ada3b2
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions swank-clojure.el
Expand Up @@ -259,14 +259,7 @@ will be used over paths too.)"
(defun swank-clojure-slime-repl-modify-syntax ()
(when (string-match "\\*slime-repl clojure\\*" (buffer-name))
;; modify syntax
(modify-syntax-entry ?~ "' ")
(modify-syntax-entry ?, " ")
(modify-syntax-entry ?\{ "(}")
(modify-syntax-entry ?\} "){")
(modify-syntax-entry ?\[ "(]")
(modify-syntax-entry ?\] ")[")
(modify-syntax-entry ?^ "'")
(modify-syntax-entry ?= "'")
(set-syntax-table clojure-mode-syntax-table)

;; set indentation function (already local)
(setq lisp-indent-function 'clojure-indent-function)
Expand Down

0 comments on commit 1ada3b2

Please sign in to comment.