Fix +debugger/quit
This commit is contained in:
parent
cf3d9eb6e0
commit
462efded5f
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ for what debugger to use. If the prefix ARG is set, prompt anyway."
|
|||
"Quit the active debugger, if any."
|
||||
(interactive)
|
||||
(cond ((and (fboundp 'dap--cur-session) (dap--cur-session))
|
||||
(dap-disconnect))
|
||||
(dap-disconnect (dap--cur-session)))
|
||||
((and (fboundp 'realgud-get-cmdbuf) (realgud-get-cmdbuf))
|
||||
(let ((buf (realgud-get-cmdbuf)))
|
||||
(ignore-errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue