[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 8e00edc 174/215: Further cleanup in cmds.el: remove unused
From: |
Rocky Bernstein |
Subject: |
[elpa] master 8e00edc 174/215: Further cleanup in cmds.el: remove unused arguments |
Date: |
Sat, 30 Jul 2016 14:49:03 +0000 (UTC) |
branch: master
commit 8e00edcf1ccebc5a825fd20e0c452574d0881816
Author: Clément Pit--Claudel <address@hidden>
Commit: Clément Pit--Claudel <address@hidden>
Further cleanup in cmds.el: remove unused arguments
Affected commands: kill, next-no-arg, repeat-last, restart, and shell.
---
realgud/common/cmds.el | 46 +++++++++++++++++++++-------------------------
1 file changed, 21 insertions(+), 25 deletions(-)
diff --git a/realgud/common/cmds.el b/realgud/common/cmds.el
index 38cb0fc..30b76cd 100644
--- a/realgud/common/cmds.el
+++ b/realgud/common/cmds.el
@@ -128,7 +128,7 @@ as in `realgud:cmd-run-command'."
(make-obsolete 'realgud:cmd-remap 'realgud:cmd-run-command "1.3.1")
(defun realgud:cmd-backtrace(arg)
- "Show the current call stack"
+ "Show the current call stack."
(interactive "p")
(realgud:cmd-run-command arg "backtrace")
)
@@ -254,11 +254,10 @@ If no argument specified use 0 or the most recent frame."
(realgud:cmd-run-command arg "frame" nil t t)
)
-(defun realgud:cmd-kill(arg)
- "kill debugger process"
- (interactive "p")
- (realgud:cmd-run-command arg "kill" nil nil nil t)
- )
+(defun realgud:cmd-kill()
+ "Kill debugger process."
+ (interactive)
+ (realgud:cmd-run-command nil "kill" nil nil nil t))
(defun realgud:cmd-newer-frame(&optional arg)
"Move the current frame to a newer (more recent) frame.
@@ -280,8 +279,8 @@ what is getting stepped."
(interactive "p")
(realgud:cmd-run-command count "next"))
-(defun realgud:cmd-next-no-arg(&optional arg)
- "Step one source line at current call level.
+(defun realgud:cmd-next-no-arg()
+ "Step one source line at current call level.
The definition of 'next' is debugger specific so, see the
debugger documentation for a more complete definition of what is
@@ -296,23 +295,20 @@ With a numeric argument move that many levels back."
(realgud:cmd-run-command arg "up" nil t t)
)
-(defun realgud:cmd-repeat-last(&optional arg)
- "Repeat the last command (or generally what <enter> does."
- (interactive "")
- (realgud:cmd-run-command arg "repeat-last" nil t nil t)
-)
+(defun realgud:cmd-repeat-last()
+ "Repeat the last command (or generally what <enter> does."
+ (interactive)
+ (realgud:cmd-run-command nil "repeat-last" nil t nil t))
-(defun realgud:cmd-restart(&optional arg)
- "Restart execution."
- (interactive "")
- (realgud:cmd-run-command arg "restart" nil t nil t)
-)
+(defun realgud:cmd-restart()
+ "Restart execution."
+ (interactive)
+ (realgud:cmd-run-command nil "restart" nil t nil t))
-(defun realgud:cmd-shell(&optional arg)
- "Drop to a shell."
- (interactive "")
- (realgud:cmd-run-command arg "shell")
-)
+(defun realgud:cmd-shell()
+ "Drop to a shell."
+ (interactive)
+ (realgud:cmd-run-command nil "shell"))
(defun realgud:cmd-step(&optional count)
"Step one source line.
@@ -372,10 +368,10 @@ continuing execution."
(unless (and cmd-hash (setq cmd (gethash "quit" cmd-hash)))
(setq cmd "quit"))
)
- (realgud-command cmd arg 't)
+ (realgud-command cmd arg t)
(if cmdbuf (realgud:terminate cmdbuf))
)
- ; else
+ ;; else
(realgud:terminate-srcbuf buffer)
)
)
- [elpa] master b6407b9 197/215: Merge pull request #130 from realgud/enable-disable, (continued)
- [elpa] master b6407b9 197/215: Merge pull request #130 from realgud/enable-disable, Rocky Bernstein, 2016/07/30
- [elpa] master 9ed122a 199/215: Correct enable/disable pattern for trepan.pl, Rocky Bernstein, 2016/07/30
- [elpa] master 392a755 083/215: Use quit! in python trepan debuggers, Rocky Bernstein, 2016/07/30
- [elpa] master 8d7961d 212/215: Need to put back el-get-install.el for travis, Rocky Bernstein, 2016/07/30
- [elpa] master e68e3a2 133/215: Add a few bindings to shortkey-mode, Rocky Bernstein, 2016/07/30
- [elpa] master 6500858 081/215: Try to tidy badges a little, Rocky Bernstein, 2016/07/30
- [elpa] master c633f3f 136/215: Ignore safe-mode setting when clicking a toolbar button, Rocky Bernstein, 2016/07/30
- [elpa] master 81f0b58 172/215: Merge pull request #114 from rocky/default-hash, Rocky Bernstein, 2016/07/30
- [elpa] master d2b8d13 134/215: Remove key argument of realgud:cmd-remap, Rocky Bernstein, 2016/07/30
- [elpa] master bf1cd9f 087/215: Travis emacs doesn't do font-lock-ensure. Use older form for now, Rocky Bernstein, 2016/07/30
- [elpa] master 8e00edc 174/215: Further cleanup in cmds.el: remove unused arguments,
Rocky Bernstein <=
- [elpa] master 6429d94 129/215: Revert "Manually generate "recursive" autoloads for subdirectories", Rocky Bernstein, 2016/07/30
- [elpa] master 1ff6720 189/215: Merge pull request #127 from realgud/quit-confirm, Rocky Bernstein, 2016/07/30
- [elpa] master 70ead82 184/215: Correct "breakpoint deleted" regexp, Rocky Bernstein, 2016/07/30
- [elpa] master b71750a 193/215: Relax deleted breakpoint regexp in PDB to support Python 2 and 3, Rocky Bernstein, 2016/07/30
- [elpa] master 2f30f42 176/215: Merge pull request #119 from realgud/improve-break-C-u, Rocky Bernstein, 2016/07/30
- [elpa] master cbfa182 203/215: Improve realgud:run-process docstring, Rocky Bernstein, 2016/07/30
- [elpa] master 333a946 104/215: Merge pull request #74 from rocky/ipdb, Rocky Bernstein, 2016/07/30
- [elpa] master 2316417 205/215: Reassign more copyrights to FSF, Rocky Bernstein, 2016/07/30
- [elpa] master 703e087 185/215: Correct cmd capabilities for perldb and trepanjs, Rocky Bernstein, 2016/07/30
- [elpa] master d367cab 196/215: Correct python trepan enable/disable patterns, Rocky Bernstein, 2016/07/30