summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard Kim <emacs18@gmail.com>2020-06-15 23:20:57 -0700
committerEli Zaretskii <eliz@gnu.org>2020-06-28 17:02:17 +0300
commitcce00bef0313bc42beee8096d9312313889dc92d (patch)
treefde79feeaef470b186ad74c59a0c1467dc27876c /lisp
parent0121db27021ce77350999b108b4e5aed21d73064 (diff)
downloademacs-cce00bef0313bc42beee8096d9312313889dc92d.tar.gz
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)
Diffstat (limited to 'lisp')
-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."
(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.