branch: externals/pyim
commit 57213d27cefd0c53909f001cdd0a2a2804da7d83
Author: Feng Shu <tuma...@163.com>
Commit: Feng Shu <tuma...@163.com>

    * pyim-indicator.el (pyim-indicator-with-posframe): Use posframe-delete.
---
 pyim-indicator.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyim-indicator.el b/pyim-indicator.el
index 77baed3..6148180 100644
--- a/pyim-indicator.el
+++ b/pyim-indicator.el
@@ -141,10 +141,10 @@ Indicator 用于显示输入法当前输入状态(英文还是中文)。"
     (let ((buffer " *pyim-indicator*")
           (posframe-mouse-banish nil))
       (if (not (equal input-method "pyim"))
-          (posframe-hide buffer)
+          (posframe-delete buffer)
         (if chinese-input-p
             (posframe-show buffer
-                           :string "##"
+                           :string ".."
                            :font "Monospace-2"
                            :poshandler 
#'posframe-poshandler-point-top-left-corner
                            :background-color "orange")

Reply via email to