summaryrefslogtreecommitdiff
path: root/helm.el
diff options
context:
space:
mode:
Diffstat (limited to 'helm.el')
-rw-r--r--helm.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/helm.el b/helm.el
index 3b262d7b..c15aa4ad 100644
--- a/helm.el
+++ b/helm.el
@@ -3016,8 +3016,10 @@ value of `split-window-preferred-function' will be used by `display-buffer'."
(if (or (one-window-p t)
helm-split-window-inside-p)
(split-window
- (selected-window) nil (if (eq helm-split-window-default-side 'other)
- helm-split-window-other-side-when-one-window helm-split-window-default-side))
+ (selected-window) nil
+ (if (eq helm-split-window-default-side 'other)
+ helm-split-window-other-side-when-one-window
+ helm-split-window-default-side))
;; If more than one window reuse one of them.
(cl-case helm-split-window-default-side
(left (or (helm-window-in-direction 'left)