branch: master
commit 6a87f3cd1aa9e17aef41dce98ff1825ce6fffacc
Author: Sean Farley <[email protected]>
Commit: Sean Farley <[email protected]>
ipdb: add tab completion to track-mode
---
realgud/debugger/ipdb/track-mode.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/realgud/debugger/ipdb/track-mode.el
b/realgud/debugger/ipdb/track-mode.el
index abe8d70..17133b3 100644
--- a/realgud/debugger/ipdb/track-mode.el
+++ b/realgud/debugger/ipdb/track-mode.el
@@ -34,6 +34,7 @@
(declare-function realgud-track-mode-setup 'realgud-track-mode)
(declare-function realgud:track-set-debugger 'realgud-track-mode)
(declare-function realgud-python-populate-command-keys 'realgud-lang-python)
+(declare-function realgud:ipdb-completion-at-point 'realgud:ipdb-core)
(realgud-python-populate-command-keys ipdb-track-mode-map)
@@ -41,6 +42,8 @@
(if ipdb-track-mode
(progn
(use-local-map ipdb-track-mode-map)
+ (add-hook 'completion-at-point-functions
+ 'realgud:ipdb-completion-at-point nil t)
(message "using ipdb mode map")
)
(message "ipdb track-mode-hook disable called")