]> git.eshelyaron.com Git - emacs.git/commitdiff
; Open inferior Lua buffer in a window, not a frame
authorjohn muhl <jm@pub.pink>
Wed, 20 Mar 2024 00:46:12 +0000 (19:46 -0500)
committerEshel Yaron <me@eshelyaron.com>
Sun, 24 Mar 2024 14:20:43 +0000 (15:20 +0100)
* lisp/progmodes/lua-ts-mode.el (lua-ts-inferior-lua): Replace
'display-buffer-pop-up-window' with
'display-buffer-pop-up-frame'.  (bug#69909)

(cherry picked from commit d3ca7c68c7e4c4c86341427fc34dd1af74f1a593)

lisp/progmodes/lua-ts-mode.el

index 25fd7792f4248785799fb705494bd476faec4fd1..b6d6e90680c4e46fb370f1543f2b1289371ff90f 100644 (file)
@@ -628,7 +628,7 @@ Calls REPORT-FN directly."
                 nil t)))
   (select-window (display-buffer lua-ts-inferior-buffer
                                  '((display-buffer-reuse-window
-                                    display-buffer-pop-up-frame)
+                                    display-buffer-pop-up-window)
                                    (reusable-frames . t))))
   (get-buffer-process (current-buffer)))