Skip to content

Commit

Permalink
Fix dape-pause button in mode line menu
Browse files Browse the repository at this point in the history
The button was never enabled due to dape--live-connection signaling
rather then returning nil if not instructed.
  • Loading branch information
svaante committed Aug 16, 2024
1 parent daa32c5 commit 521eb31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dape.el
Original file line number Diff line number Diff line change
Expand Up @@ -5234,7 +5234,7 @@ See `eldoc-documentation-functions', for more information."
["Next" dape-next :enable (dape--live-connection 'stopped)]
["Step in" dape-step-in :enable (dape--live-connection 'stopped)]
["Step out" dape-step-out :enable (dape--live-connection 'stopped)]
["Pause" dape-pause :enable (not (dape--live-connection 'stopped))]
["Pause" dape-pause :enable (not (dape--live-connection 'stopped t))]
["Quit" dape-quit]
"--"
["REPL" dape-repl]
Expand Down

0 comments on commit 521eb31

Please sign in to comment.