summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-03-25 22:59:12 +0000
committerRichard M. Stallman <rms@gnu.org>1994-03-25 22:59:12 +0000
commit30df2a534050af447ff998ab4cd685bf90f31d33 (patch)
treeb6c65797856a6d1773155f0e87ee8c067cdb4eb3
parent36fa5981f498be9cdd7e376014089a9c47ccc562 (diff)
downloademacs-30df2a534050af447ff998ab4cd685bf90f31d33.tar.gz
(gud-comint-buffer): Move defvar up.
-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."
;; The completion list is constructed by the process filter.
(defvar gud-gdb-complete-list)
+(defvar gud-comint-buffer nil)
+
(defun gud-gdb-complete-command ()
"Perform completion on the GDB command preceding point.
This is implemented using the GDB `complete' command which isn't
@@ -874,8 +876,6 @@ comint mode, which see."
(run-hooks 'gud-mode-hook)
)
-(defvar gud-comint-buffer nil)
-
;; Chop STRING into words separated by SPC or TAB and return a list of them.
(defun gud-chop-words (string)
(let ((i 0) (beg 0)