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

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

[elpa] externals/pyim cfe94f23f4 30/41: Set pyim-force-input-chinese-fun


From: ELPA Syncer
Subject: [elpa] externals/pyim cfe94f23f4 30/41: Set pyim-force-input-chinese-functions default value is nil.
Date: Sat, 4 Jun 2022 09:57:47 -0400 (EDT)

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

    Set pyim-force-input-chinese-functions default value is nil.
---
 pyim-probe.el   | 2 ++
 pyim-process.el | 4 +---
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/pyim-probe.el b/pyim-probe.el
index 8189032afb..48d0c488d5 100644
--- a/pyim-probe.el
+++ b/pyim-probe.el
@@ -204,6 +204,8 @@
           'xwidget-webkit-pass-command-event-with-input-method)
       (bound-and-true-p xwidget-webkit-isearch--read-string-buffer)))
 
+(cl-pushnew #'pyim-probe-exwm-xim-environment 
pyim-force-input-chinese-functions)
+(cl-pushnew #'pyim-probe-xwidget-webkit-environment 
pyim-force-input-chinese-functions)
 
 ;; * Footer
 (provide 'pyim-probe)
diff --git a/pyim-process.el b/pyim-process.el
index c7bf898f33..0fd6d2bf14 100644
--- a/pyim-process.el
+++ b/pyim-process.el
@@ -50,9 +50,7 @@
 运行结果为 t 时,pyim 开启英文输入功能。"
   :type 'symbol)
 
-(defcustom pyim-force-input-chinese-functions
-  (list 'pyim-probe-exwm-xim-environment
-        'pyim-probe-xwidget-webkit-environment)
+(defcustom pyim-force-input-chinese-functions nil
   "让 pyim 强制输入中文.
 
 这个变量的取值为一个函数列表,这个函数列表中的任意一个函数的运行



reply via email to

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