Commit ee957461 authored by Chong Yidong's avatar Chong Yidong
Browse files

* progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp

which is required for completion via gud-gdb-fetch-lines-filter.

Fixes: debbugs:10274
parent d93a1e34
2011-12-11 Chong Yidong <cyd@gnu.org>
* progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
for completion via gud-gdb-fetch-lines-filter (Bug#10274).
2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
* window.el (other-window): Fix docstring.
......
......@@ -811,6 +811,9 @@ detailed description of this mode.
(define-key gud-minor-mode-map [left-margin C-mouse-3]
'gdb-mouse-jump)
(set (make-local-variable 'comint-prompt-regexp)
"^(.*gdb[+]?) *")
(add-hook 'completion-at-point-functions #'gud-gdb-completion-at-point
nil 'local)
(local-set-key "\C-i" 'completion-at-point)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment