[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 7211cc5 192/215: Restart should be a confirm command too.
From: |
Rocky Bernstein |
Subject: |
[elpa] master 7211cc5 192/215: Restart should be a confirm command too. |
Date: |
Sat, 30 Jul 2016 14:49:05 +0000 (UTC) |
branch: master
commit 7211cc5916d5d87c9b33508e2cf8c46e0744b54c
Author: rocky <address@hidden>
Commit: rocky <address@hidden>
Restart should be a confirm command too.
---
realgud/common/cmds.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/realgud/common/cmds.el b/realgud/common/cmds.el
index 3f04503..4b2f3eb 100644
--- a/realgud/common/cmds.el
+++ b/realgud/common/cmds.el
@@ -1,4 +1,4 @@
-;; Copyright (C) 2015 Free Software Foundation, Inc
+;; Copyright (C) 2015, 2016 Free Software Foundation, Inc
;; Author: Rocky Bernstein <address@hidden>
@@ -348,7 +348,9 @@ With a numeric argument move that many levels back."
(defun realgud:cmd-restart()
"Restart execution."
(interactive)
- (realgud:cmd-run-command nil "restart" nil t nil t))
+ (if (realgud:prompt-if-safe-mode
+ "Restart program?")
+ (realgud:cmd-run-command nil "restart" nil t nil t)))
(defun realgud:cmd-shell()
"Drop to a shell."
- [elpa] master be7718a 073/215: Go over perldb init re's. Attempt smaller cleanup of tests and note how, (continued)
- [elpa] master be7718a 073/215: Go over perldb init re's. Attempt smaller cleanup of tests and note how, Rocky Bernstein, 2016/07/30
- [elpa] master f08a894 170/215: Ensure that the Github organization logo is a square, Rocky Bernstein, 2016/07/30
- [elpa] master 6e72375 160/215: Merge pull request #111 from rocky/better-breakpoint-highlighting, Rocky Bernstein, 2016/07/30
- [elpa] master a89d1b2 149/215: Rewrite README, Rocky Bernstein, 2016/07/30
- [elpa] master 90068ea 201/215: Simpler change to previous commit, Rocky Bernstein, 2016/07/30
- [elpa] master 524047e 163/215: Fix file-column-to-string in the presence of composed characters, Rocky Bernstein, 2016/07/30
- [elpa] master 4118834 207/215: Suppress irrelevant compilation warnings, Rocky Bernstein, 2016/07/30
- [elpa] master 0a17ada 079/215: Fix several issues when calling gdb, Fixes #59, Rocky Bernstein, 2016/07/30
- [elpa] master bc1f4ba 194/215: Broaden trepan breakpoint search, Rocky Bernstein, 2016/07/30
- [elpa] master 277e10c 167/215: Merge pull request #113 from rocky/logo, Rocky Bernstein, 2016/07/30
- [elpa] master 7211cc5 192/215: Restart should be a confirm command too.,
Rocky Bernstein <=
- [elpa] master 32fb382 190/215: Merge pull request #126 from realgud/103-jump, Rocky Bernstein, 2016/07/30
- [elpa] master ba2b69c 202/215: Remove code added by mistake, Rocky Bernstein, 2016/07/30
- [elpa] master 4862a6f 206/215: Warn if gdb --interpreter=mi or -i mi is used, Rocky Bernstein, 2016/07/30
- [elpa] master 1e257cf 209/215: One more FSF copyright assignment, Rocky Bernstein, 2016/07/30
- [elpa] master ba3b013 103/215: Merge branch 'ipdb' of https://github.com/seanfarley/emacs-dbgr into ipdb, Rocky Bernstein, 2016/07/30
- [elpa] master b405494 191/215: Fill out pdb-remote execution, Rocky Bernstein, 2016/07/30
- [elpa] master 5cc0037 157/215: Improve visibility of breakpoints, Rocky Bernstein, 2016/07/30
- [elpa] master e5a2331 153/215: Handle enable/disable bp status messages - 1st cut, Rocky Bernstein, 2016/07/30
- [elpa] master ec23a09 164/215: Slightly shorten setup instructions in README, Rocky Bernstein, 2016/07/30
- [elpa] master f7947aa 131/215: Rename realgud:prompt-if-{prefix-or-, }safe-mode, Rocky Bernstein, 2016/07/30