From ebf8cead9e3969f52e8aca65553fe2191c5e66f6 Mon Sep 17 00:00:00 2001 From: dan sutton Date: Wed, 27 Oct 2021 10:59:15 -0500 Subject: [PATCH 1/2] Set clojure-mode syntax table in repl buffer --- inf-clojure.el | 1 + 1 file changed, 1 insertion(+) diff --git a/inf-clojure.el b/inf-clojure.el index c9ede40..564cd2c 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 From 53854c848d2171b29bafca4a1b77f14ea80e3ed1 Mon Sep 17 00:00:00 2001 From: dan sutton Date: Wed, 27 Oct 2021 11:04:50 -0500 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1b244d..b9ee6c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,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.