[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 5d81b52139: * pyim-page.el (pyim-page-get-selected
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 5d81b52139: * pyim-page.el (pyim-page-get-selected-word-position): Fixed. |
Date: |
Sun, 5 Jun 2022 02:57:46 -0400 (EDT) |
branch: externals/pyim
commit 5d81b5213994cdee89cf2c64d0aac84afcf2d8de
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* pyim-page.el (pyim-page-get-selected-word-position): Fixed.
---
pyim-page.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyim-page.el b/pyim-page.el
index 6315913e1a..e3ef885ecd 100644
--- a/pyim-page.el
+++ b/pyim-page.el
@@ -229,7 +229,7 @@ page 的概念,比如,上面的 “nihao” 的 *待选词列表* 就可以
"获取当前选择的词条在 candidates 中的位置。"
(- (min (pyim-process-get-candidate-position)
(pyim-process-candidates-length))
- (pyim-page-start)))
+ (1- (pyim-page-start))))
(defun pyim-page-get-valid-tooltip ()
"获取一个可用的 tooltip."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/pyim 5d81b52139: * pyim-page.el (pyim-page-get-selected-word-position): Fixed.,
ELPA Syncer <=