Fix helm-execute-persistent-action

With (helm +childframe) in doom! section, without this patch
execute-persistent-action opens an extra non-child frame. This
doesn't play nicely with my tiling window manager.

This patch is taken from helm-posframe, and seems to fix it.
This commit is contained in:
Douglas Wilson 2018-08-07 08:31:50 +12:00
parent d5363a5a2e
commit fd13df48a5

View file

@ -19,6 +19,7 @@ bottom, which is easier on the eyes on big displays."
"TODO"
(setq +helm--posframe-last-window (selected-window))
(require 'posframe)
(setq helm--buffer-in-new-frame-p t)
(posframe-show
(setq +helm--posframe-buffer buffer)
:poshandler +helm-posframe-handler