From 5ec03a53c53f559354807a3ad2dfb131a3047bf9 Mon Sep 17 00:00:00 2001 From: Martin Kavalar Date: Tue, 24 Sep 2024 21:46:17 +0200 Subject: [PATCH] Restore syntax highlighting in result minibuffer --- CHANGELOG.md | 4 ++++ cider-overlays.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96bc14925..39ec0d575 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## master (unreleased) +### Bugs fixed + +- [#3742](https://github.com/clojure-emacs/cider/issues/3742): Restore syntax highlighting in result minibuffer. + ## 1.16.0 (2024-09-24) ### Changes diff --git a/cider-overlays.el b/cider-overlays.el index 81c36e29e..511f89a19 100644 --- a/cider-overlays.el +++ b/cider-overlays.el @@ -317,7 +317,7 @@ focused." :where point :duration cider-eval-result-duration :prepend-face (or overlay-face 'cider-result-overlay-face)))) - (msg (format "%s%s" cider-eval-result-prefix value)) + (msg (format "%s%s" cider-eval-result-prefix font-value)) (max-msg-length (* (floor (* (frame-height) max-mini-window-height)) (frame-width))) (msg (if (> (string-width msg) max-msg-length)