Skip to content

Commit 765653d

Browse files
authored
Set clojure-mode syntax table in repl buffer (#193)
1 parent 38e7dc1 commit 765653d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
### Bugs fixed
1414

15+
* [#193](https://github.com/clojure-emacs/inf-clojure/pull/193): Set syntax table in repl buffer
1516
* [#152](https://github.com/clojure-emacs/inf-clojure/issues/152): Sanitize should only remove whitespace at the end of a command.
1617
* [#188](https://github.com/clojure-emacs/inf-clojure/pull/188): Handle newlines between forms for `inf-clojure-eval-buffer`.
1718
* [#189](https://github.com/clojure-emacs/inf-clojure/pull/189): Font-lock code inserted in the REPL from a source buffer.

inf-clojure.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -770,6 +770,7 @@ process buffer for a list of commands.)"
770770
(with-current-buffer (apply #'make-comint
771771
process-buffer-name (car cmdlist) nil (cdr cmdlist))
772772
(inf-clojure-mode)
773+
(set-syntax-table clojure-mode-syntax-table)
773774
(setq-local inf-clojure-repl-type repl-type)
774775
(hack-dir-local-variables-non-file-buffer))))
775776
;; update the default comint buffer and switch to it

0 commit comments

Comments
 (0)