[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/corfu 4f70a0d582: Parameter set incorrectly, Fix #63
From: |
ELPA Syncer |
Subject: |
[elpa] externals/corfu 4f70a0d582: Parameter set incorrectly, Fix #63 |
Date: |
Sat, 2 Jul 2022 13:57:25 -0400 (EDT) |
branch: externals/corfu
commit 4f70a0d5829efbdc28f2e8cc20eabcd0fd657ef0
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Parameter set incorrectly, Fix #63
---
corfu.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/corfu.el b/corfu.el
index fd5bf1d618..83e7ce0cea 100644
--- a/corfu.el
+++ b/corfu.el
@@ -331,8 +331,6 @@ The completion backend can override this with
(tool-bar-lines . 0)
(tab-bar-lines . 0)
(no-other-frame . t)
- (no-other-window . t)
- (no-delete-other-windows . t)
(unsplittable . t)
(undecorated . t)
(cursor-type . nil)
@@ -445,6 +443,9 @@ The completion backend can override this with
(set-frame-parameter corfu--frame 'background-color new)))
(let ((win (frame-root-window corfu--frame)))
(set-window-buffer win buffer)
+ ;; Disallow selection of root window (#63)
+ (set-window-parameter win 'no-delete-other-windows t)
+ (set-window-parameter win 'no-other-window t)
;; Mark window as dedicated to prevent frame reuse (#60)
(set-window-dedicated-p win t))
(set-frame-size corfu--frame width height t)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/corfu 4f70a0d582: Parameter set incorrectly, Fix #63,
ELPA Syncer <=