summaryrefslogtreecommitdiff
path: root/helm.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2018-05-31 06:01:50 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2018-05-31 06:01:50 +0200
commit7b965920a5f80293c754c5262741a52938b557a0 (patch)
tree14d40f7fb78d938ed73b026765a62e1f2f47198e /helm.el
parentbb9abf67bf19b2716da7fe377f4390984aad0753 (diff)
Add comment
* helm.el (helm-resolve-display-function): Do it.
Diffstat (limited to 'helm.el')
-rw-r--r--helm.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/helm.el b/helm.el
index 7187816a..e5e6a736 100644
--- a/helm.el
+++ b/helm.el
@@ -2724,6 +2724,9 @@ value found and current command is not in `helm-commands-using-frame'."
(and helm-use-frame-when-more-than-two-windows
(null helm--nested)
(> (length (window-list)) 2))
+ ;; Work around emacs-26 bug where frame-parameter
+ ;; returns the minibuffer's frame instead of the value
+ ;; of minibuffer frame parameter.
(null (with-selected-frame helm-initial-frame
(eq nil (assq 'minibuffer (frame-parameters))))))
#'helm-display-buffer-in-own-frame)