emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/pyim 124bd15 4/4: Fix warn.


From: ELPA Syncer
Subject: [elpa] externals/pyim 124bd15 4/4: Fix warn.
Date: Fri, 10 Dec 2021 03:02:45 -0500 (EST)

branch: externals/pyim
commit 124bd153d820c20782825d1cc2928ee9cc010598
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>

    Fix warn.
---
 pyim-codes.el     | 6 +++++-
 pyim-imobjs.el    | 5 ++++-
 pyim-indicator.el | 3 +--
 pyim-process.el   | 6 +++++-
 4 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/pyim-codes.el b/pyim-codes.el
index f927bfa..a7476b3 100644
--- a/pyim-codes.el
+++ b/pyim-codes.el
@@ -46,7 +46,11 @@
 列表 codes 中包含一个或者多个 code 字符串,这些 code 字符串用于从
 词库中搜索相关词条。
 
-    (pyim-codes-create '((\"w\" \"o\" \"w\" \"o\") (\"\" \"ai\" \"\" \"ai\") 
(\"m\" \"ei\" \"m\" \"ei\") (\"n\"  \"v\" \"n\"  \"v\")) 'quanpin)
+    (pyim-codes-create '((\"w\" \"o\" \"w\" \"o\")
+                         (\"\" \"ai\" \"\" \"ai\")
+                         (\"m\" \"ei\" \"m\" \"ei\")
+                         (\"n\"  \"v\" \"n\"  \"v\"))
+                       'quanpin)
 
 结果为:
 
diff --git a/pyim-imobjs.el b/pyim-imobjs.el
index 9ff21a3..9440b8b 100644
--- a/pyim-imobjs.el
+++ b/pyim-imobjs.el
@@ -98,7 +98,10 @@ imobj 组合构成在一起,构成了 imobjs 这个概念。比如:
 
 结果为:
 
-    (((\"w\" \"o\" \"w\" \"o\") (\"\" \"ai\" \"\" \"ai\") (\"m\" \"ei\" \"m\" 
\"ei\") (\"n\" \"v\" \"n\" \"v\")))
+    (((\"w\" \"o\" \"w\" \"o\")
+      (\"\" \"ai\" \"\" \"ai\")
+      (\"m\" \"ei\" \"m\" \"ei\")
+      (\"n\" \"v\" \"n\" \"v\")))
 
 如果字符串无法正确处理,则返回 nil, 比如:
 
diff --git a/pyim-indicator.el b/pyim-indicator.el
index 7c33598..55421f9 100644
--- a/pyim-indicator.el
+++ b/pyim-indicator.el
@@ -165,8 +165,7 @@ timer 实现。"
 (defun pyim-indicator-with-posframe (input-method chinese-input-p)
   "Pyim 自带的 indicator, 通过 posframe 来显示输入状态。"
   (when (posframe-workable-p)
-    (let ((buffer " *pyim-indicator*")
-          (posframe-mouse-banish nil))
+    (let ((buffer " *pyim-indicator*"))
       (if (not (equal input-method "pyim"))
           (posframe-delete buffer)
         (if chinese-input-p
diff --git a/pyim-process.el b/pyim-process.el
index 227b8bf..07edfef 100644
--- a/pyim-process.el
+++ b/pyim-process.el
@@ -44,6 +44,10 @@
 (require 'pyim-cstring)
 (require 'pyim-magic)
 
+(defgroup pyim-process nil
+  "Process for pyim."
+  :group 'pyim)
+
 (defcustom pyim-english-input-switch-functions nil
   "让 pyim 开启英文输入功能.
 
@@ -95,7 +99,7 @@
    pyim-process-translating
    pyim-process-last-created-word))
 
-(defun pyim-process-init-dcaches (&optional force save-caches)
+(defun pyim-process-init-dcaches (&optional force)
   "PYIM 流程,词库相关的初始化工作。"
   (pyim-recreate-local-variables)
   (pyim-pymap-cache-create)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]