Turn off current source line indicator when gdb buffer is killed
* lisp/progmodes/gud.el (gud-hide-current-line-indicator): Turn off current-line indicator. (Bug#74642)
This commit is contained in:
parent
a3610381ff
commit
a4548739b8
1 changed files with 2 additions and 0 deletions
|
@ -2962,6 +2962,8 @@ It is nil if not yet present.")
|
|||
(defun gud-sentinel (proc msg)
|
||||
(cond ((null (buffer-name (process-buffer proc)))
|
||||
;; buffer killed
|
||||
;; Stop displaying an arrow and highlight overlay in a source file.
|
||||
(gud-hide-current-line-indicator t)
|
||||
(set-process-buffer proc nil)
|
||||
(if (and (boundp 'speedbar-initial-expansion-list-name)
|
||||
(string-equal speedbar-initial-expansion-list-name "GUD"))
|
||||
|
|
Loading…
Add table
Reference in a new issue