branch: master
commit f7947aab5ea450c11f359e517d31bf8b55c95143
Author: Clément Pit--Claudel <[email protected]>
Commit: Clément Pit--Claudel <[email protected]>
Rename realgud:prompt-if-{prefix-or-,}safe-mode
The if-prefix part was an unfortunate choice.
---
realgud/common/cmds.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/realgud/common/cmds.el b/realgud/common/cmds.el
index f86e1c6..f2f0e31 100644
--- a/realgud/common/cmds.el
+++ b/realgud/common/cmds.el
@@ -37,7 +37,7 @@ Similar to GDB's “set confirm”."
:type 'boolean
:group 'realgud)
-(defun realgud:prompt-if-prefix-or-safe-mode(message)
+(defun realgud:prompt-if-safe-mode(message)
"Ask use to confirm current command if in safe mode.
Use MESSAGE plus a space as the prompt string. Do not confirm
when command was run from a menu."
@@ -112,7 +112,7 @@ command. In safe mode (or with prefix arg), confirm before
running."
(interactive (when (consp current-prefix-arg)
(list (read-string "Continue args: " nil nil nil t))))
- (when (or arg (realgud:prompt-if-prefix-or-safe-mode
+ (when (or arg (realgud:prompt-if-safe-mode
"Continue to next breakpoint?"))
(realgud:cmd-remap arg "continue" "continue" "c")))