branch: elpa/helm
commit 7742c61ce9f7710b3a9a64714848acdb6c878424
Author: Thierry Volpiatto <thie...@posteo.net>
Commit: Thierry Volpiatto <thie...@posteo.net>

    Use display-buffer-alist instead of deprecated same-window-regexps
---
 helm-core.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/helm-core.el b/helm-core.el
index 684d6d2a88..4d49bf989f 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -6925,10 +6925,9 @@ splitting inconditionally, it is unused actually."
                    :split (or split helm-onewindow-p)))
                 (helm-log "current-buffer = %S" (current-buffer))
                 (let ((helm-in-persistent-action t)
-                      (same-window-regexps '("."))
+                      (display-buffer-alist '((".*" 
(display-buffer-same-window))))
                       display-buffer-function pop-up-windows pop-up-frames
-                      special-display-regexps special-display-buffer-names
-                      display-buffer-alist)
+                      special-display-regexps special-display-buffer-names)
                   (helm-execute-selection-action-1
                    selection (or fn (helm-get-actions-from-current-source 
source)) t)
                   (unless (helm-action-window)

Reply via email to