emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] master f7947aa 131/215: Rename realgud:prompt-if-{prefix-or-, }s


From: Rocky Bernstein
Subject: [elpa] master f7947aa 131/215: Rename realgud:prompt-if-{prefix-or-, }safe-mode
Date: Sat, 30 Jul 2016 14:49:00 +0000 (UTC)

branch: master
commit f7947aab5ea450c11f359e517d31bf8b55c95143
Author: Clément Pit--Claudel <address@hidden>
Commit: Clément Pit--Claudel <address@hidden>

    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")))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]