branch: master
commit 1bfe1e6258cfbc89005af429cc39d4dc682a4cc8
Author: Apteryks <[email protected]>
Commit: GitHub <[email protected]>
Honor debugger-name in trepan2-suggest-invocation
DEBUGGER-NAME in trepan2-suggest-invocation was not being considered.
---
realgud/debugger/trepan2/core.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/realgud/debugger/trepan2/core.el b/realgud/debugger/trepan2/core.el
index ddf9011..00651d7 100644
--- a/realgud/debugger/trepan2/core.el
+++ b/realgud/debugger/trepan2/core.el
@@ -209,7 +209,7 @@ NOTE: the above should have each item listed in quotes.
(defun trepan2-suggest-invocation (debugger-name)
"Suggest a trepan2 command invocation via `realgud-suggest-invocaton'"
- (realgud-suggest-invocation realgud:trepan2-command-name
+ (realgud-suggest-invocation (or debugger-name realgud:trepan2-command-name)
realgud:trepan2-minibuffer-history
"python" "\\.py"
realgud:trepan2-command-name))