diff options
| author | Richard M. Stallman | 1994-03-25 22:59:12 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-03-25 22:59:12 +0000 |
| commit | 30df2a534050af447ff998ab4cd685bf90f31d33 (patch) | |
| tree | b6c65797856a6d1773155f0e87ee8c067cdb4eb3 | |
| parent | 36fa5981f498be9cdd7e376014089a9c47ccc562 (diff) | |
| download | emacs-30df2a534050af447ff998ab4cd685bf90f31d33.tar.gz emacs-30df2a534050af447ff998ab4cd685bf90f31d33.zip | |
(gud-comint-buffer): Move defvar up.
| -rw-r--r-- | lisp/gud.el | 4 |
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. |
| 279 | This is implemented using the GDB `complete' command which isn't | 281 | This 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) |