aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/gud.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/gud.el b/lisp/gud.el
index 1234a25485e..b7e97d40173 100644
--- a/lisp/gud.el
+++ b/lisp/gud.el
@@ -274,6 +274,8 @@ and source-file directory for your debugger."
274;; The completion list is constructed by the process filter. 274;; The completion list is constructed by the process filter.
275(defvar gud-gdb-complete-list) 275(defvar gud-gdb-complete-list)
276 276
277(defvar gud-comint-buffer nil)
278
277(defun gud-gdb-complete-command () 279(defun gud-gdb-complete-command ()
278 "Perform completion on the GDB command preceding point. 280 "Perform completion on the GDB command preceding point.
279This is implemented using the GDB `complete' command which isn't 281This is implemented using the GDB `complete' command which isn't
@@ -874,8 +876,6 @@ comint mode, which see."
874 (run-hooks 'gud-mode-hook) 876 (run-hooks 'gud-mode-hook)
875) 877)
876 878
877(defvar gud-comint-buffer nil)
878
879;; Chop STRING into words separated by SPC or TAB and return a list of them. 879;; Chop STRING into words separated by SPC or TAB and return a list of them.
880(defun gud-chop-words (string) 880(defun gud-chop-words (string)
881 (let ((i 0) (beg 0) 881 (let ((i 0) (beg 0)