aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Kim2020-06-15 23:20:57 -0700
committerEli Zaretskii2020-06-28 17:02:17 +0300
commitcce00bef0313bc42beee8096d9312313889dc92d (patch)
treefde79feeaef470b186ad74c59a0c1467dc27876c
parent0121db27021ce77350999b108b4e5aed21d73064 (diff)
downloademacs-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.el6
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.