branch: externals/pyim commit f5e65088bdedfe3af43687375308c159daa5e26a Author: Feng Shu <tuma...@163.com> Commit: Feng Shu <tuma...@163.com>
* pyim-page.el (pyim-page-minibuffer-message): Fix minibuffer can not input with pyim. --- pyim-page.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyim-page.el b/pyim-page.el index 69e1b0b..9ec21a0 100644 --- a/pyim-page.el +++ b/pyim-page.el @@ -506,8 +506,9 @@ minibuffer 原来显示的信息和 pyim 选词框整合在一起显示 (setq point-1 (point))) (sit-for 1000000) (delete-region (point) point-1) - (setq quit-flag nil) - (pyim-add-unread-command-events 7 t))) + (when quit-flag + (setq quit-flag nil) + (pyim-add-unread-command-events 7 t)))) (defun pyim-page-hide () "Hide pyim page."