Fix +debugger/quit

This commit is contained in:
Henrik Laxhuber 2021-03-01 09:15:06 +01:00
parent cf3d9eb6e0
commit 462efded5f
No known key found for this signature in database
GPG key ID: 6862099F57DBBFB1

View file

@ -107,7 +107,7 @@ for what debugger to use. If the prefix ARG is set, prompt anyway."
"Quit the active debugger, if any." "Quit the active debugger, if any."
(interactive) (interactive)
(cond ((and (fboundp 'dap--cur-session) (dap--cur-session)) (cond ((and (fboundp 'dap--cur-session) (dap--cur-session))
(dap-disconnect)) (dap-disconnect (dap--cur-session)))
((and (fboundp 'realgud-get-cmdbuf) (realgud-get-cmdbuf)) ((and (fboundp 'realgud-get-cmdbuf) (realgud-get-cmdbuf))
(let ((buf (realgud-get-cmdbuf))) (let ((buf (realgud-get-cmdbuf)))
(ignore-errors (ignore-errors