branch: elpa/inf-clojure
commit 765653dc23dc2a2c1520a1e24332ab9d4b49dd47
Author: dpsutton <[email protected]>
Commit: GitHub <[email protected]>

    Set clojure-mode syntax table in repl buffer (#193)
---
 CHANGELOG.md   | 1 +
 inf-clojure.el | 1 +
 2 files changed, 2 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index e5c87a3..ec5e0c1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,7 @@
 
 ### Bugs fixed
 
+* [#193](https://github.com/clojure-emacs/inf-clojure/pull/193): Set syntax 
table in repl buffer
 * [#152](https://github.com/clojure-emacs/inf-clojure/issues/152): Sanitize 
should only remove whitespace at the end of a command.
 * [#188](https://github.com/clojure-emacs/inf-clojure/pull/188): Handle 
newlines between forms for `inf-clojure-eval-buffer`.
 * [#189](https://github.com/clojure-emacs/inf-clojure/pull/189): Font-lock 
code inserted in the REPL from a source buffer.
diff --git a/inf-clojure.el b/inf-clojure.el
index 790660b..bbcb0c1 100644
--- a/inf-clojure.el
+++ b/inf-clojure.el
@@ -770,6 +770,7 @@ process buffer for a list of commands.)"
         (with-current-buffer (apply #'make-comint
                                     process-buffer-name (car cmdlist) nil (cdr 
cmdlist))
           (inf-clojure-mode)
+          (set-syntax-table clojure-mode-syntax-table)
           (setq-local inf-clojure-repl-type repl-type)
           (hack-dir-local-variables-non-file-buffer))))
     ;; update the default comint buffer and switch to it

Reply via email to