Skip to content
Browse files

Synching the Clojure REPL's syntax-table with clojure-mode's syntax-t…

…able.
  • Loading branch information...
1 parent adc0adc commit 1ada3b2c6739dee75af6191ae8c1da7eada15631 @tayssir tayssir committed with Feb 14, 2010
Showing with 1 addition and 8 deletions.
  1. +1 −8 swank-clojure.el
View
9 swank-clojure.el
@@ -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)

0 comments on commit 1ada3b2

Please sign in to comment.
Something went wrong with that request. Please try again.