Skip to content

Commit b407773

Browse files
authored
fix format string in dap-debug-edit-template (#793)
1 parent 11431a2 commit b407773

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dap-mode.el

+2-2
Original file line numberDiff line numberDiff line change
@@ -1924,12 +1924,12 @@ the new template can be used normally with `dap-debug'"
19241924
(insert " (list ")
19251925
(-let ((column (current-column))
19261926
((fst snd . rst) debug-args))
1927-
(insert (format "%s %s" fst snd))
1927+
(insert (format "%s %S" fst snd))
19281928
(cl-loop for (k v) on rst by #'cddr
19291929
do (unless (eq k :program-to-start)
19301930
(insert "\n")
19311931
(insert-char ?\s column)
1932-
(insert (format "%s %s" k v)))))
1932+
(insert (format "%s %S" k v)))))
19331933
(insert "))"))
19341934
(pop-to-buffer "*DAP Templates*")
19351935
(goto-char (point-max)))

0 commit comments

Comments
 (0)