branch: master commit ba97f2b61530f441dbe2da1a923b5344d1a050b2 Merge: e049c12 0cf9321 Author: R. Bernstein <ro...@users.noreply.github.com> Commit: R. Bernstein <ro...@users.noreply.github.com>
Merge pull request #93 from cpitclaudel/small-fixes-in-cmds Small fixes in cmds.el --- realgud/common/cmds.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/realgud/common/cmds.el b/realgud/common/cmds.el index 9f00af3..f86e1c6 100644 --- a/realgud/common/cmds.el +++ b/realgud/common/cmds.el @@ -257,7 +257,7 @@ With a numeric argument move that many levels back." ) (defun realgud:cmd-shell(&optional arg) - "Restart execution." + "Drop to a shell." (interactive "") (realgud:cmd-remap arg "shell" "shell" "S") ) @@ -286,13 +286,13 @@ getting stepped." (realgud:cmd-remap nil "step" "step" "s") ) -(defun realgud:cmd-terminate (&optional arg) +(defun realgud:cmd-terminate () "Gently terminate source and command buffers without possibly issuing a command to the underlying debuger. Use this if the underlying debugger has died or you want to get out of all shortkey modes in the source window and possibly restart debugging after editing source." - (interactive "p") + (interactive) (realgud:terminate (current-buffer)) ) @@ -331,6 +331,4 @@ continuing execution." ) ) -(local-set-key "\C-cq" 'realgud:cmd-quit) - (provide-me "realgud-")