Commit 97bccfe5 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(gud-minor-mode-type): Move defvar up.

parent 83b5c8e0
......@@ -2434,6 +2434,8 @@ It is saved for when this flag is not set.")
(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 @@ It is saved for when this flag is not set.")
;; 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)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment