From 1ada3b2c6739dee75af6191ae8c1da7eada15631 Mon Sep 17 00:00:00 2001 From: Tayssir John Gabbour Date: Sun, 14 Feb 2010 02:52:45 +0100 Subject: [PATCH] Synching the Clojure REPL's syntax-table with clojure-mode's syntax-table. --- swank-clojure.el | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/swank-clojure.el b/swank-clojure.el index 5d470ac..49d015c 100644 --- a/swank-clojure.el +++ b/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)