[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-posframe 990b9b4 007/195: Update
From: |
Feng Shu |
Subject: |
[elpa] externals/ivy-posframe 990b9b4 007/195: Update |
Date: |
Sat, 3 Oct 2020 07:11:34 -0400 (EDT) |
branch: externals/ivy-posframe
commit 990b9b490236f83ef9bbb5019340c69f3d8db46f
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
Update
---
ivy-posframe.el | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index f69d1ce..d0c2f69 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -46,10 +46,18 @@
:prefix "ivy-posframe")
(defcustom ivy-posframe-font nil
- "The font used by ivy-posframe's frame.
+ "The font used by ivy-posframe.
Using current frame's font if it it nil."
:group 'ivy-posframe)
+(defcustom ivy-posframe-poshandler nil
+ "The posframe poshandler used by ivy-posframe.
+When nil, use `posframe-poshandler-window-bottom-left-corner'
+as fallback.
+
+More details can be found in docstring of `posframe-show'."
+ :group 'ivy-posframe)
+
(defface ivy-posframe
'((t (:inherit default :background "#333333" :foreground "#dcdccc")))
"Face used for the ivy-posframe."
@@ -63,8 +71,10 @@ Using current frame's font if it it nil."
(with-selected-window (ivy--get-window ivy-last)
(posframe-show
ivy-posframe-buffer
+ :font ivy-posframe-font
:string (concat ivy--prompt ivy-text str)
- :poshandler #'posframe-poshandler-window-bottom-left-corner
+ :poshandler (or ivy-posframe-poshandler
+ #'posframe-poshandler-window-bottom-left-corner)
:background-color (face-attribute 'ivy-posframe :background)
:foreground-color (face-attribute 'ivy-posframe :foreground)
:height ivy-height
- [elpa] branch externals/ivy-posframe created (now d539ac2), Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe d6fc7c6 001/195: Init commit, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 8861e54 002/195: Use ivy-display-functions-props, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 229caae 003/195: update, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 3bc6301 004/195: Add ivy-posframe-workable-p, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 2733fe1 010/195: Set :position to (point)., Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe f287da7 006/195: Add ivy-posframe-mode, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 990b9b4 007/195: Update,
Feng Shu <=
- [elpa] externals/ivy-posframe 8d0b0ae 008/195: Update, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe fc0820a 009/195: Update, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 1651770 012/195: Update, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 6494b38 005/195: Add ivy-posframe-mode, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 8a54dbb 011/195: Use ivy-display-function-fallback, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 8a3ecb3 014/195: package-require ivy, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 0136107 015/195: Remove ivy-posframe-mode, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 2546238 016/195: reuse minibuffer's ivy prompt, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 9db2b75 017/195: Update README, Feng Shu, 2020/10/03
- [elpa] externals/ivy-posframe 550c322 018/195: Fix warn, Feng Shu, 2020/10/03