]> git.eshelyaron.com Git - emacs.git/commitdiff
(gud-comint-buffer): Move defvar up.
authorRichard M. Stallman <rms@gnu.org>
Fri, 25 Mar 1994 22:59:12 +0000 (22:59 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 25 Mar 1994 22:59:12 +0000 (22:59 +0000)
lisp/gud.el

index 1234a25485e81a830556db893991ed800de2ba68..b7e97d401734eddd37734beb1aecd406aa36ff06 100644 (file)
@@ -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)