[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 66c5c7d 2/3: Obsolete some variables or functions
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 66c5c7d 2/3: Obsolete some variables or functions when 4.0 |
Date: |
Fri, 23 Apr 2021 01:57:10 -0400 (EDT) |
branch: externals/pyim
commit 66c5c7d6ac3f5e7ca956129669ac58ecdf6b0f0d
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
Obsolete some variables or functions when 4.0
* pyim.el (pyim-page-select-finish-hook)
(pyim-page-select-word-by-number, pyim-page-select-word-simple)
(pyim-page-select-word, pyim-page-select-word-by-number): obsolete when
4.0
* pyim-pinyin.el (pyim-fuzzy-pinyin-alist): obsolete when 4.0
* pyim-page.el (pyim-posframe-border-width)
(pyim-posframe-min-width): obsolete when 4.0
* pyim-outcome.el (pyim-translate-trigger-char): obsolete when 4.0
* pyim-dcache.el (pyim-prefer-emacs-thread): obsolete when 4.0
---
pyim-dcache.el | 2 +-
pyim-outcome.el | 2 +-
pyim-page.el | 4 ++--
pyim-pinyin.el | 2 +-
pyim.el | 10 +++++-----
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/pyim-dcache.el b/pyim-dcache.el
index 286a8fd..ad6d0c9 100644
--- a/pyim-dcache.el
+++ b/pyim-dcache.el
@@ -44,7 +44,7 @@
在六年历史的笔记本上会有一秒的延迟. 这时建议换用 `pyim-dhashcache'."
:type 'symbol)
-(define-obsolete-variable-alias 'pyim-prefer-emacs-thread
'pyim-dcache-prefer-emacs-thread "3.0")
+(define-obsolete-variable-alias 'pyim-prefer-emacs-thread
'pyim-dcache-prefer-emacs-thread "4.0")
(defvar pyim-dcache-prefer-emacs-thread nil
"是否优先使用 emacs thread 功能来生成 dcache.
diff --git a/pyim-outcome.el b/pyim-outcome.el
index b2731b3..b5700cb 100644
--- a/pyim-outcome.el
+++ b/pyim-outcome.el
@@ -33,7 +33,7 @@
"Outcome tools for pyim."
:group 'pyim)
-(define-obsolete-variable-alias 'pyim-translate-trigger-char
'pyim-outcome-trigger-char "3.0")
+(define-obsolete-variable-alias 'pyim-translate-trigger-char
'pyim-outcome-trigger-char "4.0")
(defcustom pyim-outcome-trigger-char "v"
"用于触发特殊操作的字符,相当与单字快捷键.
diff --git a/pyim-page.el b/pyim-page.el
index 71caa05..5d2a625 100644
--- a/pyim-page.el
+++ b/pyim-page.el
@@ -64,13 +64,13 @@ pyim 内建的有三种选词框格式:
3. vertical 垂直选词框"
:type 'symbol)
-(define-obsolete-variable-alias 'pyim-posframe-border-width
'pyim-page-posframe-border-width "3.0")
+(define-obsolete-variable-alias 'pyim-posframe-border-width
'pyim-page-posframe-border-width "4.0")
(defcustom pyim-page-posframe-border-width 0
"posframe的内间距。
只有当用户使用 posframe 来显示候选词时才有效。"
:type 'integer)
-(define-obsolete-variable-alias 'pyim-posframe-min-width
'pyim-page-posframe-min-width "3.0")
+(define-obsolete-variable-alias 'pyim-posframe-min-width
'pyim-page-posframe-min-width "4.0")
(defcustom pyim-page-posframe-min-width (* pyim-page-length 7)
"使用 posframe 做为选词框时,设置选词框的最小宽度."
:type 'integer)
diff --git a/pyim-pinyin.el b/pyim-pinyin.el
index e3d9b7e..d66ef03 100644
--- a/pyim-pinyin.el
+++ b/pyim-pinyin.el
@@ -48,7 +48,7 @@
'("a" "o" "e" "ai" "ei" "ui" "ao" "ou" "er" "an" "en"
"ang" "eng"))
-(define-obsolete-function-alias 'pyim-fuzzy-pinyin-alist
'pyim-pinyin-fuzzy-alist "3.0")
+(define-obsolete-function-alias 'pyim-fuzzy-pinyin-alist
'pyim-pinyin-fuzzy-alist "4.0")
(defcustom pyim-pinyin-fuzzy-alist
'(("en" "eng")
("in" "ing")
diff --git a/pyim.el b/pyim.el
index 15684d8..a10f3ac 100644
--- a/pyim.el
+++ b/pyim.el
@@ -66,12 +66,12 @@
运行结果为 t 时,pyim 开启英文输入功能。"
:type 'symbol)
-(define-obsolete-variable-alias 'pyim-page-select-finish-hook
'pyim-select-finish-hook "3.0")
+(define-obsolete-variable-alias 'pyim-page-select-finish-hook
'pyim-select-finish-hook "4.0")
(defcustom pyim-select-finish-hook nil
"Pyim 选词完成时运行的 hook."
:type 'hook)
-(define-obsolete-variable-alias 'pyim-page-select-word-by-number
'pyim-select-word-by-number "3.0")
+(define-obsolete-variable-alias 'pyim-page-select-word-by-number
'pyim-select-word-by-number "4.0")
(defcustom pyim-select-word-by-number t
"使用数字键来选择词条.
@@ -652,7 +652,7 @@ Return the input string.
(not pyim-assistant-scheme-enable))
(pyim-entered-refresh)))
-(define-obsolete-function-alias 'pyim-page-select-word-simple
'pyim-select-word-simple "3.0")
+(define-obsolete-function-alias 'pyim-page-select-word-simple
'pyim-select-word-simple "4.0")
(defun pyim-select-word-simple ()
"从选词框中选择当前词条.
这个函数与 `pyim-select-word' 的区别是:
@@ -666,7 +666,7 @@ Return the input string.
(pyim-outcome-handle 'candidate))
(pyim-terminate-translation))
-(define-obsolete-function-alias 'pyim-page-select-word 'pyim-select-word "3.0")
+(define-obsolete-function-alias 'pyim-page-select-word 'pyim-select-word "4.0")
(defun pyim-select-word ()
"从选词框中选择当前词条,然后删除该词条对应拼音。"
(interactive)
@@ -770,7 +770,7 @@ Return the input string.
;; pyim 使用这个 hook 来处理联想词。
(run-hooks 'pyim-select-finish-hook)))
-(define-obsolete-function-alias 'pyim-page-select-word-by-number
'pyim-select-word-by-number "3.0")
+(define-obsolete-function-alias 'pyim-page-select-word-by-number
'pyim-select-word-by-number "4.0")
(defun pyim-select-word-by-number (&optional n)
"使用数字编号来选择对应的词条。"
(interactive)