branch: elpa/helm
commit c2706b02b0a2ba102caa22039d1268834f0c7415
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Comments only
---
helm-core.el | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/helm-core.el b/helm-core.el
index bac33ac6d29..bb42f8856cd 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -2642,12 +2642,14 @@ i.e. functions called with RET."
(setq helm-saved-action action)
(setq helm-saved-selection (or (helm-get-selection) ""))
(setq helm--executing-helm-action t)
- ;; When toggling minibuffer and header-line, we want next action
- ;; inherit this setting.
- (helm-set-local-variable 'helm-echo-input-in-header-line
- (with-helm-buffer helm-echo-input-in-header-line)
- 'helm-current-buffer
- (with-helm-buffer helm-current-buffer))
+ (helm-set-local-variable
+ ;; When toggling minibuffer and header-line, we want next action
+ ;; inherit this setting.
+ 'helm-echo-input-in-header-line
+ (with-helm-buffer helm-echo-input-in-header-line)
+ ;; Keep the same buffer for subsequent helm sessions started as actions.
+ 'helm-current-buffer
+ (with-helm-buffer helm-current-buffer))
;; Ensure next action use same display function as initial helm-buffer when
;; helm-actions-inherit-frame-settings is non nil.
(when (and helm-actions-inherit-frame-settings