emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/ivy-posframe 8075f27 1/2: * ivy-posframe.el (ivy-posfra


From: ELPA Syncer
Subject: [elpa] externals/ivy-posframe 8075f27 1/2: * ivy-posframe.el (ivy-posframe--display): Use border-width/color instead.
Date: Tue, 2 Nov 2021 22:57:25 -0400 (EDT)

branch: externals/ivy-posframe
commit 8075f27ddc05c10dce5ed8c1419eff97e3267be2
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    * ivy-posframe.el (ivy-posframe--display): Use border-width/color instead.
---
 ivy-posframe.el | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/ivy-posframe.el b/ivy-posframe.el
index 721a08b..9b7186c 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -272,21 +272,21 @@ This variable is useful for `ivy-posframe-read-action' .")
   (if (not (posframe-workable-p))
       (ivy-display-function-fallback str)
     (with-ivy-window
-      (apply #'posframe-show
-             ivy-posframe-buffer
-             :font ivy-posframe-font
-             :string str
-             :position (point)
-             :poshandler poshandler
-             :background-color (face-attribute 'ivy-posframe :background nil t)
-             :foreground-color (face-attribute 'ivy-posframe :foreground nil t)
-             :internal-border-width ivy-posframe-border-width
-             :internal-border-color (face-attribute 'ivy-posframe-border 
:background nil t)
-             :override-parameters ivy-posframe-parameters
-             :refposhandler ivy-posframe-refposhandler
-             :hidehandler #'ivy-posframe-hidehandler
-             (funcall ivy-posframe-size-function))
-      (ivy-posframe--add-prompt 'ignore)))
+     (apply #'posframe-show
+            ivy-posframe-buffer
+            :font ivy-posframe-font
+            :string str
+            :position (point)
+            :poshandler poshandler
+            :background-color (face-attribute 'ivy-posframe :background nil t)
+            :foreground-color (face-attribute 'ivy-posframe :foreground nil t)
+            :border-width ivy-posframe-border-width
+            :border-color (face-attribute 'ivy-posframe-border :background nil 
t)
+            :override-parameters ivy-posframe-parameters
+            :refposhandler ivy-posframe-refposhandler
+            :hidehandler #'ivy-posframe-hidehandler
+            (funcall ivy-posframe-size-function))
+     (ivy-posframe--add-prompt 'ignore)))
   (with-current-buffer ivy-posframe-buffer
     (setq-local truncate-lines ivy-truncate-lines)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]