branch: externals/pyim commit aca89b0ed62b270e067bbf198697b0a11d489a80 Author: Feng Shu <tuma...@163.com> Commit: Feng Shu <tuma...@163.com>
* pyim-preview.el (pyim-preview-refresh): Do not use pyim-imobjs. --- pyim-preview.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyim-preview.el b/pyim-preview.el index 805a74d7dc..414c48b70c 100644 --- a/pyim-preview.el +++ b/pyim-preview.el @@ -83,7 +83,8 @@ pyim 会使用 Emacs overlay 机制在 *待输入buffer* 光标处高亮显示 (let ((rest (mapconcat (lambda (py) (concat (nth 0 py) (nth 1 py))) - (nthcdr (length preview) (car pyim-imobjs)) + (nthcdr (length preview) + (car (pyim-process-get-imobjs))) "'"))) (when (string< "" rest) (setq preview (concat preview rest)))))