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

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

[elpa] externals/pyim 0fada8a337 2/2: * pyim-page.el (pyim-page-show-wit


From: ELPA Syncer
Subject: [elpa] externals/pyim 0fada8a337 2/2: * pyim-page.el (pyim-page-show-with-popup): Add comment.
Date: Thu, 30 Dec 2021 07:57:47 -0500 (EST)

branch: externals/pyim
commit 0fada8a337ce76c7576867a83917ff770562e4bd
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    * pyim-page.el (pyim-page-show-with-popup): Add comment.
---
 pyim-page.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pyim-page.el b/pyim-page.el
index cc1edca61b..0a580f9ef8 100644
--- a/pyim-page.el
+++ b/pyim-page.el
@@ -543,6 +543,7 @@ page 的概念,比如,上面的 “nihao” 的 *待选词列表* 就可以
 (cl-defun pyim-page-show-with-popup (&key string position)
   "Show STRING at POSITION with the help of popup-el."
   (when pyim-page-last-popup
+    ;; 异步获取词条的时候,如果不把已经存在的 popup 删除,就会出现两个 page.
     (popup-delete pyim-page-last-popup))
   (setq pyim-page-last-popup
         (apply #'popup-tip string



reply via email to

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