summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2016-10-10 09:16:41 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2016-10-10 09:21:08 +0200
commita1fe6c28d06284ac025b4a0843c0d298dce41e84 (patch)
treedd9987064fd39053fe812ef7f13599940d3a83f6
parent986827e2d9c58e1781950609dd7d4fa44b33ed88 (diff)
Move defcustom on top and fix docstring.
* helm.el (helm-show-action-window-same-window): Do it.
-rw-r--r--helm.el11
1 files changed, 6 insertions, 5 deletions
diff --git a/helm.el b/helm.el
index 128c5dc6..db5401c0 100644
--- a/helm.el
+++ b/helm.el
@@ -605,6 +605,12 @@ See `helm-log-save-maybe' for more info."
:type 'string
:group 'helm)
+(defcustom helm-show-action-window-same-window nil
+ "Show action buffer beside `helm-buffer' when non-nil.
+Note that this may not fit well with some helm window configurations,
+so it have only effect when `helm-always-two-windows' is non-nil."
+ :group 'helm
+ :type 'boolean)
;;; Faces
;;
@@ -3592,11 +3598,6 @@ If action buffer is selected, back to the helm buffer."
(add-text-properties (point-min) (point-max)
'(display "Select action: "))))))
-(defcustom helm-show-action-window-same-window t
- "Show action buffer beside `helm-buffer' when non-nil."
- :group 'helm
- :type 'boolean)
-
(defun helm-show-action-buffer (actions)
(with-current-buffer (get-buffer-create helm-action-buffer)
(erase-buffer)