diff options
| author | Andreas Schwab | 2005-08-19 15:03:48 +0000 |
|---|---|---|
| committer | Andreas Schwab | 2005-08-19 15:03:48 +0000 |
| commit | 6a7df22fdb508a944417455238b7714ada78d8b4 (patch) | |
| tree | c23a99bf4279771d1cffd94ad24d701ff5bb8bcb /lisp | |
| parent | c9133fa6fb5fa601d21db003128f43d4a815ba56 (diff) | |
| download | emacs-6a7df22fdb508a944417455238b7714ada78d8b4.tar.gz emacs-6a7df22fdb508a944417455238b7714ada78d8b4.zip | |
(gud-kill-buffer-hook): Don't kill unrelated
process.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/gud.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8a49d97b004..7d68058a8d7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-08-19 Andreas Schwab <schwab@suse.de> | ||
| 2 | |||
| 3 | * progmodes/gud.el (gud-kill-buffer-hook): Don't kill unrelated | ||
| 4 | process. | ||
| 5 | |||
| 1 | 2005-08-18 Luc Teirlinck <teirllm@auburn.edu> | 6 | 2005-08-18 Luc Teirlinck <teirllm@auburn.edu> |
| 2 | 7 | ||
| 3 | * cus-start.el (minibuffer-prompt-properties): Correct typo. | 8 | * cus-start.el (minibuffer-prompt-properties): Correct typo. |
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 21f61ec1dc8..0577e2a2bb7 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -2598,7 +2598,7 @@ It is saved for when this flag is not set.") | |||
| 2598 | (defun gud-kill-buffer-hook () | 2598 | (defun gud-kill-buffer-hook () |
| 2599 | (setq gud-minor-mode-type gud-minor-mode) | 2599 | (setq gud-minor-mode-type gud-minor-mode) |
| 2600 | (condition-case nil | 2600 | (condition-case nil |
| 2601 | (kill-process (get-buffer-process gud-comint-buffer)) | 2601 | (kill-process (get-buffer-process (current-buffer))) |
| 2602 | (error nil))) | 2602 | (error nil))) |
| 2603 | 2603 | ||
| 2604 | (defun gud-reset () | 2604 | (defun gud-reset () |