summaryrefslogtreecommitdiff
path: root/helm-utils.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-09-17 06:12:37 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-09-17 06:12:37 +0200
commit2ead5718c3ca37f33a98ebba6bda31e8c238343c (patch)
tree0e3deb90c390d8ac0a4affce5f8da9c61f6e3375 /helm-utils.el
parenta80aeccb7ad61c4eb57248d423265713e335070d (diff)
Add helm-switch-to-buffer-other-window docstring
* helm-utils.el (helm-switch-to-buffer-other-window): Do it.
Diffstat (limited to 'helm-utils.el')
-rw-r--r--helm-utils.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/helm-utils.el b/helm-utils.el
index fafc2c6e..1d4d4ba5 100644
--- a/helm-utils.el
+++ b/helm-utils.el
@@ -258,6 +258,9 @@ When called with a prefix arg split is done vertically."
(error (setq nosplit t) nil)))))))
(defun helm-switch-to-buffer-other-window (buffer-or-name &optional balance)
+ "Switch to buffer-or-name in other window.
+If a prefix arg is detected split vertically.
+When argument balance is provided `balance-windows'."
(select-window (split-window
nil nil helm-current-prefix-arg))
(and balance (balance-windows))