[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm 733e67c6f9 1/4: 'norecord argument and display-buffer
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm 733e67c6f9 1/4: 'norecord argument and display-buffer instead of switch-to buffer in helm-buffers-list-persistent-action |
Date: |
Mon, 11 Mar 2024 04:00:44 -0400 (EDT) |
branch: elpa/helm
commit 733e67c6f977a4b005fa93263d3c8b80362a39ee
Author: AlexK <ambulajan@gmail.com>
Commit: AlexK <ambulajan@gmail.com>
'norecord argument and display-buffer instead of switch-to buffer in
helm-buffers-list-persistent-action
---
helm-buffers.el | 2 +-
helm-core.el | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/helm-buffers.el b/helm-buffers.el
index 109544c98d..e8f3c50c0d 100644
--- a/helm-buffers.el
+++ b/helm-buffers.el
@@ -1028,7 +1028,7 @@ vertically."
(if (or (helm-follow-mode-p)
(eql current (get-buffer helm-current-buffer))
(not (eql current (get-buffer candidate))))
- (switch-to-buffer candidate)
+ (display-buffer candidate)
(if (and helm-persistent-action-display-window
(window-dedicated-p
(next-window helm-persistent-action-display-window 1)))
diff --git a/helm-core.el b/helm-core.el
index 8348682cc9..f633c282f1 100644
--- a/helm-core.el
+++ b/helm-core.el
@@ -7344,7 +7344,8 @@ See `helm-persistent-action-display-window' for how to
use SPLIT."
(prog1
(select-window
(setq minibuffer-scroll-window
- (helm-persistent-action-display-window :split split)))
+ (helm-persistent-action-display-window :split split))
+ 'norecord)
(helm-log "helm-select-persistent-action-window"
"Selected window is %S" minibuffer-scroll-window)))