branch: elpa/inf-clojure commit 6a4329bd34a259f4a56ff91f028555abd5f0061b Author: Bozhidar Batsov <bozhi...@batsov.com> Commit: Bozhidar Batsov <bozhi...@batsov.com>
Font-lock code in the REPL --- CHANGELOG.md | 1 + inf-clojure.el | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 686cc76..5f3a98e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ * [#46](https://github.com/clojure-emacs/inf-clojure/pull/46): Make it possible to disable prompt on `inf-clojure-set-ns`. * New interactive command `inf-clojure-display-version`. * [#42](https://github.com/clojure-emacs/inf-clojure/issues/42): Add a defcustom controlling the window in which the REPL buffer is displayed (`inf-clojure-repl-use-same-window`). +* Font-lock the code in the REPL. ### Changes diff --git a/inf-clojure.el b/inf-clojure.el index 2fdb97e..43f4307 100644 --- a/inf-clojure.el +++ b/inf-clojure.el @@ -275,6 +275,7 @@ to continue it." (setq comint-prompt-regexp inf-clojure-comint-prompt-regexp) (setq mode-line-process '(":%s")) (clojure-mode-variables) + (clojure-font-lock-setup) (inf-clojure-eldoc-setup) (setq comint-get-old-input #'inf-clojure-get-old-input) (setq comint-input-filter #'inf-clojure-input-filter)