]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix ACTION argument of 'display-buffer' call in gud.el
authorRichard Kim <emacs18@gmail.com>
Tue, 16 Jun 2020 06:20:57 +0000 (23:20 -0700)
committerEli Zaretskii <eliz@gnu.org>
Sun, 28 Jun 2020 14:02:17 +0000 (17:02 +0300)
* lisp/progmodes/gud.el (gud-common-init): The ACTION argument of
'display-buffer' should be a list of list of functions.  (Bug#41888)

lisp/progmodes/gud.el

index d5fd1dce6f5facdcf8d845b011630f130747c37e..540bc9ce7f349f96817e4566bf2d89183ea5e938 100644 (file)
@@ -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.