Skip to content

Commit

Permalink
fix format string in dap-debug-edit-template (#793)
Browse files Browse the repository at this point in the history
  • Loading branch information
krfantasy authored Jun 11, 2024
1 parent 11431a2 commit b407773
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dap-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -1924,12 +1924,12 @@ the new template can be used normally with `dap-debug'"
(insert " (list ")
(-let ((column (current-column))
((fst snd . rst) debug-args))
(insert (format "%s %s" fst snd))
(insert (format "%s %S" fst snd))
(cl-loop for (k v) on rst by #'cddr
do (unless (eq k :program-to-start)
(insert "\n")
(insert-char ?\s column)
(insert (format "%s %s" k v)))))
(insert (format "%s %S" k v)))))
(insert "))"))
(pop-to-buffer "*DAP Templates*")
(goto-char (point-max)))
Expand Down

0 comments on commit b407773

Please sign in to comment.