branch: externals/dape commit 0d6a43488e45842edfbe95afca6b084ba10b9e1f Author: Damien Cassou <dam...@cassou.me> Commit: Daniel Pettersson <svaa...@gmail.com>
Fix dape--repl-message when MSG includes a %-sequence If MSG includes a %-sequence such as "%5s", then `dape--repl-message` crashes because it can find the corresponding argument. --- dape.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dape.el b/dape.el index 7e17947155..314b126933 100644 --- a/dape.el +++ b/dape.el @@ -4311,7 +4311,7 @@ Handles newline." (setq msg (concat "\n" msg)) (if (not (get-buffer-window "*dape-repl*")) (when (stringp msg) - (message (format "%s" (string-trim msg)) + (message "%s" (format "%s" (string-trim msg)) 'face face)) (cond (dape--repl-insert-text-guard