Mercurial > emacs
changeset 51454:bfb4dca9f80e
(gud-minor-mode-type): Move defvar up.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 04 Jun 2003 09:42:37 +0000 |
parents | 9bcc21ca740f |
children | 5d1558b29b67 |
files | lisp/gud.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/gud.el Wed Jun 04 09:31:46 2003 +0000 +++ b/lisp/gud.el Wed Jun 04 09:42:37 2003 +0000 @@ -2434,6 +2434,8 @@ (if gud-filter-pending-text (gud-filter proc "")))))) +(defvar gud-minor-mode-type nil) + (defun gud-sentinel (proc msg) (cond ((null (buffer-name (process-buffer proc))) ;; buffer killed @@ -2475,8 +2477,6 @@ ;; if obuf is the gud buffer. (set-buffer obuf)))))) -(defvar gud-minor-mode-type nil) - (defun gud-kill-buffer-hook () (if gud-minor-mode (setq gud-minor-mode-type gud-minor-mode)))