[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dape 7a3e6f8a73 1/2: Remove limit for number of window-
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dape 7a3e6f8a73 1/2: Remove limit for number of window-groups for side window-arrangements |
Date: |
Wed, 15 Jan 2025 18:57:41 -0500 (EST) |
branch: externals/dape
commit 7a3e6f8a730861f5e70403aeb5d22dcab3347b3b
Author: Daniel Pettersson <daniel@dpettersson.net>
Commit: Daniel Pettersson <daniel@dpettersson.net>
Remove limit for number of window-groups for side window-arrangements
---
dape.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/dape.el b/dape.el
index 21d3604936..183122ca69 100644
--- a/dape.el
+++ b/dape.el
@@ -1202,10 +1202,8 @@ On SKIP-PROCESS-BUFFERS skip deletion of buffers which
has processes."
(pcase (cons mode group)
(`(dape-repl-mode . ,_) '((side . bottom) (slot .
-1)))
(`(dape-shell-mode . ,_) '((side . bottom) (slot .
0)))
- (`(,_ . 0) `((side .
,dape-buffer-window-arrangement) (slot . -1)))
- (`(,_ . 1) `((side .
,dape-buffer-window-arrangement) (slot . 0)))
- (`(,_ . 2) `((side .
,dape-buffer-window-arrangement) (slot . 1)))
- (_ (error "Unable to display buffer of mode `%s'"
mode)))))
+ (`(,_ . ,index) `((side .
,dape-buffer-window-arrangement)
+ (slot . ,(1- index)))))))
('gud
(pcase (cons mode group)
(`(dape-repl-mode . ,_)