From ca6afcf3c7ba01bb3fe6d73b86dd2e15dc51d8b5 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 5 Aug 2018 21:45:21 +0200 Subject: [PATCH] Add +helm-posframe-border-width option Controls posframe's internal-border-width --- modules/completion/helm/autoload/posframe.el | 2 +- modules/completion/helm/config.el | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/completion/helm/autoload/posframe.el b/modules/completion/helm/autoload/posframe.el index 7ba3fc156..5b54162f9 100644 --- a/modules/completion/helm/autoload/posframe.el +++ b/modules/completion/helm/autoload/posframe.el @@ -22,7 +22,7 @@ bottom, which is easier on the eyes on big displays." (posframe-show (setq +helm--posframe-buffer buffer) :poshandler +helm-posframe-handler - :internal-border-width (truncate (/ (frame-fringe-width) 2)) + :internal-border-width +helm-posframe-border-width :respect-header-line t :respect-mode-line t :width diff --git a/modules/completion/helm/config.el b/modules/completion/helm/config.el index a174ba81d..8766a5c9c 100644 --- a/modules/completion/helm/config.el +++ b/modules/completion/helm/config.el @@ -24,6 +24,10 @@ a cons cell representing the X and Y coordinates. See "The text-scale to use in the helm childframe. Set to nil for no scaling. Can be negative.") +(defvar +helm-posframe-border-width 8 + "The text-scale to use in the helm childframe. Set to nil for no scaling. Can +be negative.") + ;; ;; Packages