[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/consult 04c89250e7 3/3: Add consult-buffer-other-tab to
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/consult 04c89250e7 3/3: Add consult-buffer-other-tab to consult--customize-alist |
|
Date: |
Thu, 16 Nov 2023 18:57:41 -0500 (EST) |
branch: externals/consult
commit 04c89250e7eb1bffd822bcfa57b6049af6da2ea6
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Add consult-buffer-other-tab to consult--customize-alist
---
consult.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/consult.el b/consult.el
index d6da2aae96..3fc0fbf5b0 100644
--- a/consult.el
+++ b/consult.el
@@ -501,7 +501,8 @@ function.")
;; Disable preview in frames, since `consult--jump-preview' does not properly
;; clean up. See gh:minad/consult#593. This issue should better be fixed in
;; `consult--jump-preview'.
- `((,#'consult-buffer-other-frame :preview-key nil))
+ `((,#'consult-buffer-other-frame :preview-key nil)
+ (,#'consult-buffer-other-tab :preview-key nil))
"Command configuration alist for fine-grained configuration.
Each element of the list must have the form (command-name plist...). The
@@ -1519,7 +1520,7 @@ The function can be used as the `:state' argument of
`consult--read'."
;; TODO Better buffer preview support
;; 1. Use consult--buffer-preview instead of
consult--jump-ensure-buffer
;; 2. Remove function consult--jump-ensure-buffer
- ;; 3. Remove consult-buffer-other-frame from consult-customize-alist
+ ;; 3. Remove consult-buffer-other-* from consult-customize-alist
(when-let ((pos (or (car-safe cand) cand)) ;; Candidate can be
previewed
((consult--jump-ensure-buffer pos)))
(let ((saved-min (point-min-marker))