[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 6ecc058590 1/3: Pass directly frame-alist to display-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 6ecc058590 1/3: Pass directly frame-alist to display-buffer instead |
Date: |
Wed, 3 Aug 2022 05:58:56 -0400 (EDT) |
branch: elpa/helm
commit 6ecc0585902231b8e41a524385833d7be6c0a591
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Pass directly frame-alist to display-buffer instead
of dynamically binding default-frame-alist.
---
helm-core.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/helm-core.el b/helm-core.el
index 03fe03cef0..2ccea0c541 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -3504,7 +3504,7 @@ version < emacs-28."
(prmt-size (length helm--prompt))
(line-height (frame-char-height))
tab-bar-mode
- (default-frame-alist
+ (new-frame-alist
(if resume
(buffer-local-value 'helm--last-frame-parameters
(get-buffer buffer))
@@ -3556,7 +3556,7 @@ version < emacs-28."
(with-helm-buffer
(setq-local helm-echo-input-in-header-line
(not (> (cdr pos) half-screen-size)))))
- (helm-display-buffer-popup-frame buffer default-frame-alist)
+ (helm-display-buffer-popup-frame buffer new-frame-alist)
;; When frame size have been modified manually by user restore
;; it to default value unless resuming or not using
;; `helm-display-buffer-reuse-frame'.
@@ -3589,7 +3589,8 @@ version < emacs-28."
(frame-live-p helm-popup-frame))
(delete-frame helm-popup-frame))
(display-buffer
- buffer '(display-buffer-pop-up-frame . nil))))
+ buffer `(display-buffer-pop-up-frame
+ . ((pop-up-frame-parameters . ,frame-alist))))))
;; Ensure to quit helm when user delete helm frame manually.
;; If user deletes another frame keep session running.