[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master ca33520 120/215: Add a prefix arg to "continue" command
From: |
Rocky Bernstein |
Subject: |
[elpa] master ca33520 120/215: Add a prefix arg to "continue" command |
Date: |
Sat, 30 Jul 2016 14:48:59 +0000 (UTC) |
branch: master
commit ca33520fd39d692816d795d7475724082c58673a
Author: Clément Pit--Claudel <address@hidden>
Commit: Clément Pit--Claudel <address@hidden>
Add a prefix arg to "continue" command
Without it, "c" now just continues without prompting.
Discussed in #82.
---
realgud/common/cmds.el | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/realgud/common/cmds.el b/realgud/common/cmds.el
index 21eaa57..72eebd5 100644
--- a/realgud/common/cmds.el
+++ b/realgud/common/cmds.el
@@ -88,10 +88,12 @@ a shortcut for that key."
(realgud:cmd-remap line-num "clear" "clear %l" "X"))
(defun realgud:cmd-continue(&optional arg)
- "Continue execution."
- (interactive "MContinue args: ")
- (realgud:cmd-remap arg "continue" "continue" "c")
-)
+ "Continue execution.
+With prefix argument, prompt for argument to \"continue\"
+command."
+ (interactive (when (consp current-prefix-arg)
+ (list (read-string "Continue args: " nil nil nil t))))
+ (realgud:cmd-remap arg "continue" "continue" "c"))
(defun realgud:cmd-delete(&optional arg)
"Delete breakpoint by number."
- [elpa] master ff1dfe9 078/215: Change fringe arrow background colors based on dark or light background., (continued)
- [elpa] master ff1dfe9 078/215: Change fringe arrow background colors based on dark or light background., Rocky Bernstein, 2016/07/30
- [elpa] master 45fb7cc 085/215: Add ability to have alternate group location file and line numbers., Rocky Bernstein, 2016/07/30
- [elpa] master baab01d 061/215: Merge branch 'master' of github.com:rocky/emacs-dbgr, Rocky Bernstein, 2016/07/30
- [elpa] master d437c3d 113/215: Merge pull request #81 from rocky/ipdb-complete, Rocky Bernstein, 2016/07/30
- [elpa] master 5155528 105/215: Bump version, Rocky Bernstein, 2016/07/30
- [elpa] master 76cb0d4 108/215: Fix wrong setq call, Rocky Bernstein, 2016/07/30
- [elpa] master 1716c8a 109/215: Towards fixing up tab completion in ipdb., Rocky Bernstein, 2016/07/30
- [elpa] master e04eeb2 117/215: Improve eval: run on region if active, and fall back to prompting, Rocky Bernstein, 2016/07/30
- [elpa] master fd00428 118/215: Merge pull request #86 from cpitclaudel/83-improve-e-binding, Rocky Bernstein, 2016/07/30
- [elpa] master b275bd2 119/215: Improve behavior of delete, enable, and disable, Rocky Bernstein, 2016/07/30
- [elpa] master ca33520 120/215: Add a prefix arg to "continue" command,
Rocky Bernstein <=
- [elpa] master 379528b 106/215: Disable ipdb until melpa is updated, Rocky Bernstein, 2016/07/30
- [elpa] master e049c12 124/215: Merge pull request #89 from cpitclaudel/87-improve-delete-command, Rocky Bernstein, 2016/07/30
- [elpa] master 91704f9 141/215: Automatically attach to a command buffer when enabling short-key-mode, Rocky Bernstein, 2016/07/30
- [elpa] master 40e73bc 123/215: Merge pull request #92 from cpitclaudel/82-add-safe-mode, Rocky Bernstein, 2016/07/30
- [elpa] master f3426ed 072/215: Merge branch 'master' of github.com:rocky/emacs-dbgr, Rocky Bernstein, 2016/07/30
- [elpa] master 4e85910 088/215: Add pytest error message pattern in python debuggers, Rocky Bernstein, 2016/07/30
- [elpa] master 01617c5 100/215: ipdb: add regex test, Rocky Bernstein, 2016/07/30
- [elpa] master 5395757 091/215: More cleanup from last two commits., Rocky Bernstein, 2016/07/30
- [elpa] master 1e2fe55 098/215: Add rspec loc pattern.., Rocky Bernstein, 2016/07/30
- [elpa] master ea5dcba 094/215: ipdb: add new debugger based on pdb, Rocky Bernstein, 2016/07/30