[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 cce00be: Fix ACTION argument of 'display-buffer' call in gud.el

From: Eli Zaretskii
Subject: emacs-27 cce00be: Fix ACTION argument of 'display-buffer' call in gud.el
Date: Sun, 28 Jun 2020 10:05:40 -0400 (EDT)

branch: emacs-27
commit cce00bef0313bc42beee8096d9312313889dc92d
Author: Richard Kim <emacs18@gmail.com>
Commit: Eli Zaretskii <eliz@gnu.org>

    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)
 lisp/progmodes/gud.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index d5fd1dc..540bc9c 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -2621,9 +2621,9 @@ comint mode, which see."
       (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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]