branch: externals/ivy-posframe
commit ba42fecc20fe61bec26b582011a1b473a0f47819
Author: Feng Shu <[email protected]>
Commit: Feng Shu <[email protected]>
Fix warn
---
ivy-posframe.el | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 6c1078d..64de112 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -85,11 +85,13 @@
(defcustom ivy-posframe-font nil
"The font used by ivy-posframe.
When nil, Using current frame's font as fallback."
- :group 'ivy-posframe)
+ :group 'ivy-posframe
+ :type 'string)
(defcustom ivy-posframe-style 'window-buttom-left
"The style of ivy-posframe."
- :group 'ivy-posframe)
+ :group 'ivy-posframe
+ :type 'string)
(defface ivy-posframe
'((t (:inherit default :background "#333333" :foreground "#dcdccc")))
@@ -107,6 +109,9 @@ When nil, Using current frame's font as fallback."
(point . posframe-poshandler-point-bottom-left-corner))
"Alist of ivy posframe styles.")
+;; Fix warn
+(defvar emacs-basic-display)
+
(defun ivy-posframe-display (str)
"Show STR in ivy's posframe."
(if (not (ivy-posframe-workable-p))