branch: externals/dape
commit b85ca908bf3a94d895dce6d4162460e110ce617a
Author: Damien Cassou <dam...@cassou.me>
Commit: Daniel Pettersson <svaa...@gmail.com>

    Fix dape--repl-message to use the provided face
    
    `message` doesn't accept a face as argument, we should use
    `propertize`.
---
 dape.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dape.el b/dape.el
index 314b126933..c16c7c49b9 100644
--- a/dape.el
+++ b/dape.el
@@ -4311,8 +4311,7 @@ Handles newline."
     (setq msg (concat "\n" msg))
     (if (not (get-buffer-window "*dape-repl*"))
         (when (stringp msg)
-          (message "%s" (format "%s" (string-trim msg))
-                   'face face))
+          (message "%s" (propertize (format "%s" (string-trim msg)) 'face 
face)))
       (cond
        (dape--repl-insert-text-guard
         (run-with-timer 0.1 nil 'dape--repl-message msg))

Reply via email to