diff options
| author | Richard Kim | 2020-06-15 23:20:57 -0700 |
|---|---|---|
| committer | Eli Zaretskii | 2020-06-28 17:02:17 +0300 |
| commit | cce00bef0313bc42beee8096d9312313889dc92d (patch) | |
| tree | fde79feeaef470b186ad74c59a0c1467dc27876c | |
| parent | 0121db27021ce77350999b108b4e5aed21d73064 (diff) | |
| download | emacs-cce00bef0313bc42beee8096d9312313889dc92d.tar.gz emacs-cce00bef0313bc42beee8096d9312313889dc92d.zip | |
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)
| -rw-r--r-- | lisp/progmodes/gud.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index d5fd1dce6f5..540bc9ce7f3 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -2621,9 +2621,9 @@ comint mode, which see." | |||
| 2621 | (select-window | 2621 | (select-window |
| 2622 | (display-buffer | 2622 | (display-buffer |
| 2623 | (get-buffer-create (concat "*gud" filepart "*")) | 2623 | (get-buffer-create (concat "*gud" filepart "*")) |
| 2624 | '(display-buffer-reuse-window | 2624 | '((display-buffer-reuse-window |
| 2625 | display-buffer-in-previous-window | 2625 | display-buffer-in-previous-window |
| 2626 | display-buffer-same-window display-buffer-pop-up-window))) | 2626 | display-buffer-same-window display-buffer-pop-up-window)))) |
| 2627 | (when (and existing-buffer (get-buffer-process existing-buffer)) | 2627 | (when (and existing-buffer (get-buffer-process existing-buffer)) |
| 2628 | (error "This program is already being debugged")) | 2628 | (error "This program is already being debugged")) |
| 2629 | ;; Set the dir, in case the buffer already existed with a different dir. | 2629 | ;; Set the dir, in case the buffer already existed with a different dir. |