branch: externals/ivy-posframe
commit ff2578a044dbe3ba5711ed727cc778b5aa108676
Author: Feng Shu <[email protected]>
Commit: Feng Shu <[email protected]>
Add ivy-posframe-border-width
---
ivy-posframe.el | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 861c595..6b2ec86 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -117,6 +117,12 @@ When nil, Using current frame's font as fallback."
:group 'ivy-posframe
:type 'string)
+(defcustom ivy-posframe-border-width 0
+ "The border width used by ivy-posframe.
+When 0, no border is showed."
+ :group 'ivy-posframe
+ :type 'number)
+
(defcustom ivy-posframe-parameters nil
"The frame parameters used by ivy-posframe."
:group 'ivy-posframe
@@ -165,6 +171,7 @@ This variable is useful for `ivy-posframe-read-action' .")
:height ivy-height
:min-height 10
:min-width 50
+ :internal-border-width ivy-posframe-border-width
:override-parameters ivy-posframe-parameters))))
(defun ivy-posframe-display (str)