diff options
| author | Richard M. Stallman | 1998-06-12 05:59:33 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-06-12 05:59:33 +0000 |
| commit | 88be0819a14f9d0cb4756ebfffb5fcd2d089c5b9 (patch) | |
| tree | d1762201dc90668666d3c9b722b1cb2461c2188b | |
| parent | 28f0c4f2759e17e956219289690d26245dc26d59 (diff) | |
| download | emacs-88be0819a14f9d0cb4756ebfffb5fcd2d089c5b9.tar.gz emacs-88be0819a14f9d0cb4756ebfffb5fcd2d089c5b9.zip | |
(gud-filter): extend scope of binding of gud-filter-defer-flag.
| -rw-r--r-- | lisp/gud.el | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/lisp/gud.el b/lisp/gud.el index 9ccd06b4639..2f85014a118 100644 --- a/lisp/gud.el +++ b/lisp/gud.el | |||
| @@ -2136,22 +2136,22 @@ It is saved for when this flag is not set.") | |||
| 2136 | 2136 | ||
| 2137 | ;; Let the comint filter do the actual insertion. | 2137 | ;; Let the comint filter do the actual insertion. |
| 2138 | ;; That lets us inherit various comint features. | 2138 | ;; That lets us inherit various comint features. |
| 2139 | (comint-output-filter proc output))) | 2139 | (comint-output-filter proc output)) |
| 2140 | 2140 | ||
| 2141 | ;; Put the arrow on the source line. | 2141 | ;; Put the arrow on the source line. |
| 2142 | ;; This must be outside of the save-excursion | 2142 | ;; This must be outside of the save-excursion |
| 2143 | ;; in case the source file is our current buffer. | 2143 | ;; in case the source file is our current buffer. |
| 2144 | (if process-window | 2144 | (if process-window |
| 2145 | (save-selected-window | 2145 | (save-selected-window |
| 2146 | (select-window process-window) | 2146 | (select-window process-window) |
| 2147 | (gud-display-frame)) | 2147 | (gud-display-frame)) |
| 2148 | ;; We have to be in the proper buffer, (process-buffer proc), | 2148 | ;; We have to be in the proper buffer, (process-buffer proc), |
| 2149 | ;; but not in a save-excursion, because that would restore point. | 2149 | ;; but not in a save-excursion, because that would restore point. |
| 2150 | (let ((old-buf (current-buffer))) | 2150 | (let ((old-buf (current-buffer))) |
| 2151 | (set-buffer (process-buffer proc)) | 2151 | (set-buffer (process-buffer proc)) |
| 2152 | (unwind-protect | 2152 | (unwind-protect |
| 2153 | (gud-display-frame) | 2153 | (gud-display-frame) |
| 2154 | (set-buffer old-buf)))) | 2154 | (set-buffer old-buf))))) |
| 2155 | 2155 | ||
| 2156 | ;; If we deferred text that arrived during this processing, | 2156 | ;; If we deferred text that arrived during this processing, |
| 2157 | ;; handle it now. | 2157 | ;; handle it now. |