Fix ACTION argument of 'display-buffer' call in gud.el
* lisp/progmodes/gud.el (gud-common-init): The ACTION argument of 'display-buffer' should be a list of list of functions. (Bug#41888)
This commit is contained in:
parent
0121db2702
commit
cce00bef03
1 changed files with 3 additions and 3 deletions
|
@ -2621,9 +2621,9 @@ comint mode, which see."
|
|||
(select-window
|
||||
(display-buffer
|
||||
(get-buffer-create (concat "*gud" filepart "*"))
|
||||
'(display-buffer-reuse-window
|
||||
display-buffer-in-previous-window
|
||||
display-buffer-same-window display-buffer-pop-up-window)))
|
||||
'((display-buffer-reuse-window
|
||||
display-buffer-in-previous-window
|
||||
display-buffer-same-window display-buffer-pop-up-window))))
|
||||
(when (and existing-buffer (get-buffer-process existing-buffer))
|
||||
(error "This program is already being debugged"))
|
||||
;; Set the dir, in case the buffer already existed with a different dir.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue