branch: externals/pyim
commit 0fada8a337ce76c7576867a83917ff770562e4bd
Author: Feng Shu <[email protected]>
Commit: Feng Shu <[email protected]>
* 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