[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-explorer a66d7da 2/4: Ensure display is handled by
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ivy-explorer a66d7da 2/4: Ensure display is handled by ivy-explorer (Fixes #7) |
Date: |
Wed, 17 Mar 2021 18:45:00 -0400 (EDT) |
branch: externals/ivy-explorer
commit a66d7da7c286caa2d2cdfa004b2e61f446e9ebe1
Author: Clemens Radermacher <clemera@posteo.net>
Commit: Clemens Radermacher <clemera@posteo.net>
Ensure display is handled by ivy-explorer (Fixes #7)
Newer ivy versions and ivy-posframe versions introduced new display
variables
which override ivy-explorer display settings.
---
ivy-explorer.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ivy-explorer.el b/ivy-explorer.el
index ec5a033..6964292 100644
--- a/ivy-explorer.el
+++ b/ivy-explorer.el
@@ -707,6 +707,8 @@ MSGF is the function to be called with the grid string and
defaults to
(ivy-explorer-width (or width (frame-width)))
(ivy-height (funcall ivy-explorer-max-function))
(ivy-display-function #'ivy-explorer--display-function)
+ (ivy-display-functions-alist '((t . ivy-explorer--display-function)))
+ (ivy-posframe-display-functions-alist nil)
(ivy-posframe-hide-minibuffer
(eq ivy-explorer-message-function #'ivy-explorer--posframe))
(ivy-minibuffer-map (make-composed-keymap
@@ -719,6 +721,8 @@ MSGF is the function to be called with the grid string and
defaults to
(defun ivy-explorer--internal (f &rest args)
"Invoke ivy explorer for F with ARGS."
(let ((ivy-display-function #'ivy-explorer--display-function)
+ (ivy-display-functions-alist '((t . ivy-explorer--display-function)))
+ (ivy-posframe-display-functions-alist nil)
(completing-read-function 'ivy-completing-read)
(ivy-posframe-hide-minibuffer
(eq ivy-explorer-message-function #'ivy-explorer--posframe))