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

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

[elpa] externals/ivy-posframe d3a82a9 028/195: Update README


From: Feng Shu
Subject: [elpa] externals/ivy-posframe d3a82a9 028/195: Update README
Date: Sat, 3 Oct 2020 07:11:39 -0400 (EDT)

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

    Update README
---
 README.md       | 28 ++++++++++++++++++++--------
 ivy-posframe.el |  8 ++++++++
 2 files changed, 28 insertions(+), 8 deletions(-)

diff --git a/README.md b/README.md
index 513eea6..55bef0d 100644
--- a/README.md
+++ b/README.md
@@ -1,18 +1,19 @@
 
 # &#30446;&#24405;
 
-1.  [ivy-posframe README](#org607d67c)
-    1.  [What is ivy-posframe](#org9e02c4f)
-    2.  [Display functions](#org050c36b)
-    3.  [How to enable ivy-posframe](#org0a6499b)
+1.  [ivy-posframe README](#org39783d3)
+    1.  [What is ivy-posframe](#orgd46557b)
+    2.  [Display functions](#orge009677)
+    3.  [How to enable ivy-posframe](#org5a3f479)
+    4.  [How to custom your ivy-posframe style](#org333b256)
 
 
-<a id="org607d67c"></a>
+<a id="org39783d3"></a>
 
 # ivy-posframe README
 
 
-<a id="org9e02c4f"></a>
+<a id="orgd46557b"></a>
 
 ## What is ivy-posframe
 
@@ -22,7 +23,7 @@ to show its candidate menu.
 NOTE: ivy-posframe requires Emacs 26
 
 
-<a id="org050c36b"></a>
+<a id="orge009677"></a>
 
 ## Display functions
 
@@ -38,7 +39,7 @@ NOTE: ivy-posframe requires Emacs 26
     ![img](./snapshots/ivy-posframe-display-at-point.gif)
 
 
-<a id="org0a6499b"></a>
+<a id="org5a3f479"></a>
 
 ## How to enable ivy-posframe
 
@@ -76,5 +77,16 @@ to set show style.
         (setq ivy-posframe-style 'point)
 
 
+<a id="org333b256"></a>
+
+## How to custom your ivy-posframe style
+
+The simplest way is:
+
+    (defun ivy-posframe-display-at-XXX (str)
+      (ivy-posframe-display str 'your-own-poshandler-function))
+    (ivy-posframe-setup) ; This line is need.
+
+
 
 Converted from ivy-posframe.el by [el2org](https://github.com/tumashu/el2org) .
\ No newline at end of file
diff --git a/ivy-posframe.el b/ivy-posframe.el
index 981e09f..35218e5 100644
--- a/ivy-posframe.el
+++ b/ivy-posframe.el
@@ -87,6 +87,14 @@
 ;;    (setq ivy-posframe-style 'point)
 ;;    #+END_EXAMPLE
 
+;; ** How to custom your ivy-posframe style
+
+;; The simplest way is:
+;; ;; #+BEGIN_EXAMPLE
+;; (defun ivy-posframe-display-at-XXX (str)
+;;   (ivy-posframe-display str 'your-own-poshandler-function))
+;; (ivy-posframe-setup) ; This line is need.
+;; ;; #+END_EXAMPLE
 
 ;;; Code:
 ;; * ivy-posframe's code



reply via email to

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