branch: externals/consult
commit 6c2395a099eaf25febc2350f97bb4613dc037701
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Revert "Reenable preview for consult-buffer-other-frame"
    
    This reverts commit ca553143acd3428686d0b3f821e2696b00fd0e3e.
---
 consult.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/consult.el b/consult.el
index 9021a9a671..df6c60ea04 100644
--- a/consult.el
+++ b/consult.el
@@ -497,7 +497,11 @@ Used by `consult-completion-in-region', `consult-yank' and 
`consult-history'.")
 The function must return a list of regular expressions and a highlighter
 function.")
 
-(defvar consult--customize-alist nil
+(defvar consult--customize-alist
+  ;; Disable preview in frames, since frames do not get up cleaned
+  ;; properly.  Preview is only supported by `consult-buffer' and
+  ;; `consult-buffer-other-window'.
+  `((,#'consult-buffer-other-frame :preview-key nil))
   "Command configuration alist for fine-grained configuration.
 
 Each element of the list must have the form (command-name plist...).  The

Reply via email to