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

    Fix select wrong word by num-key.
---
 pyim-process.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pyim-process.el b/pyim-process.el
index a70cdadd6a..7498836563 100644
--- a/pyim-process.el
+++ b/pyim-process.el
@@ -732,7 +732,7 @@ imobj 组合构成在一起,构成了 imobjs 这个概念。比如:
 
 (defun pyim-process-select-word-without-save (&optional do-not-terminate)
   "选择词条但不保存词条。"
-  (let ((word (nth (1- pyim-process--word-position)
+  (let ((word (nth pyim-process--word-position
                    pyim-process--candidates)))
     (push (concat (pyim-outcome-get) word)
           pyim-outcome-history)

Reply via email to