[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim f108f69eff 5/8: Fix quote warn in docstring
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim f108f69eff 5/8: Fix quote warn in docstring |
Date: |
Wed, 8 Jun 2022 18:57:50 -0400 (EDT) |
branch: externals/pyim
commit f108f69eff1fa2f8b9b610b4f4f8853739ab60c5
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
Fix quote warn in docstring
---
pyim-dhashcache.el | 2 +-
pyim-probe.el | 2 +-
pyim-punctuation.el | 18 +++++++++---------
3 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/pyim-dhashcache.el b/pyim-dhashcache.el
index e6756e4e81..75c73f1f63 100644
--- a/pyim-dhashcache.el
+++ b/pyim-dhashcache.el
@@ -289,7 +289,7 @@
(defun pyim-dhashcache-generate-dcache-file (dict-files dcache-file)
"读取词库文件列表:DICT-FILES, 生成一个词库缓冲文件 DCACHE-FILE.
-pyim 使用的词库文件是简单的文本文件,编码 *强制* 为 'utf-8-unix,
+pyim 使用的词库文件是简单的文本文件,编码 *强制* 为 \\='utf-8-unix,
其结构类似:
ni-bu-hao 你不好
diff --git a/pyim-probe.el b/pyim-probe.el
index aba8c32296..90b782ec9f 100644
--- a/pyim-probe.el
+++ b/pyim-probe.el
@@ -115,7 +115,7 @@
3. 使用 `pyim-convert-code-at-point' 可以将光标前的 code 字符串转换为中文,
所以用户需要给 `pyim-convert-code-at-point' 绑定一个快捷键,比如:
- (global-set-key (kbd \"M-i\") 'pyim-convert-code-at-point)
+ (global-set-key (kbd \"M-i\") #'pyim-convert-code-at-point)
这个函数用于:`pyim-english-input-switch-functions' 。"
(let* ((offset 0)
diff --git a/pyim-punctuation.el b/pyim-punctuation.el
index 1c724a6a11..0ae736b6ca 100644
--- a/pyim-punctuation.el
+++ b/pyim-punctuation.el
@@ -81,9 +81,9 @@ pyim 输入半角标点,函数列表中每个函数都有一个参数:char
(defvar pyim-punctuation-translate-p '(auto yes no)
"这个变量的第一个元素的取值用于控制标点符号全角半角模式切换.
-1. 当第一个元素为 'yes 时,输入全角标点。
-2. 当第一个元素为 'no 时,输入半角标点。
-3. 当第一个元素为 'auto 时,根据中英文环境,自动切换。")
+1. 当第一个元素为 \\='yes 时,输入全角标点。
+2. 当第一个元素为 \\='no 时,输入半角标点。
+3. 当第一个元素为 \\='auto 时,根据中英文环境,自动切换。")
(defvar pyim-punctuation-pair-status
'(("\"" nil) ("'" nil))
@@ -109,9 +109,9 @@ If you don't like this function, set the variable to nil")
`pyim-process-punctuation-full-width-p' 函数的返回值,来决定是否转换标点
符号:
-1. 当返回值为 'yes 时,`pyim-process-outcome-handle-char' 转换标点符号,从而输入全角标点。
-2. 当返回值为 'no 时,`pyim-process-outcome-handle-char' 忽略转换,从而输入半角标点。
-3. 当返回值为 'auto 时,根据中英文环境,自动切换。"
+1. 当返回值为 \\='yes 时,`pyim-process-outcome-handle-char' 转换标点符号,从而输入全角标点。
+2. 当返回值为 \\='no 时,`pyim-process-outcome-handle-char' 忽略转换,从而输入半角标点。
+3. 当返回值为 \\='auto 时,根据中英文环境,自动切换。"
(interactive)
(setq pyim-punctuation-translate-p
`(,@(cdr pyim-punctuation-translate-p)
@@ -141,8 +141,8 @@ If you don't like this function, set the variable to nil")
(defun pyim-punctuation-translate (&optional punct-style)
"将光标前1个或前后连续成对的n个标点符号进行全角/半角转换.
-当 PUNCT-STYLE 设置为 'full-width 时,所有的标点符号转换为全角符
-号,设置为 'half-width 时,转换为半角符号。"
+当 PUNCT-STYLE 设置为 \\='full-width 时,所有的标点符号转换为全角符
+号,设置为 \\='half-width 时,转换为半角符号。"
(interactive)
(let ((punc-list (pyim-flatten-tree pyim-punctuation-dict))
(punct-style
@@ -197,7 +197,7 @@ If you don't like this function, set the variable to nil")
PUNCT-LIST 格式类似:
- `(\",\" \",\") 或者:`(\"'\" \"‘\" \"’\")
+ (\",\" \",\") 或者:(\"'\" \"‘\" \"’\")
当 BEFORE 为 t 时,只返回切换之前的结果,这个用来获取切换之前的
标点符号。
- [elpa] externals/pyim updated (21eb4d60d0 -> b5e70bb176), ELPA Syncer, 2022/06/08
- [elpa] externals/pyim c7b37cb30c 7/8: Add pyim-process-update-last-candidates, ELPA Syncer, 2022/06/08
- [elpa] externals/pyim 746e7d4e1a 2/8: pyim-imobjs -> pyim-process-imobjs, ELPA Syncer, 2022/06/08
- [elpa] externals/pyim e3c8f369b5 3/8: * pyim-liberime.el (pyim-select-word-really): Use pyim-process-get-candidates., ELPA Syncer, 2022/06/08
- [elpa] externals/pyim 56acba9a3e 4/8: * pyim-imobjs.el (pyim-imobjs-create): Update docstring., ELPA Syncer, 2022/06/08
- [elpa] externals/pyim db7ad76d13 6/8: Update .github/workflows/test.yml, ELPA Syncer, 2022/06/08
- [elpa] externals/pyim f108f69eff 5/8: Fix quote warn in docstring,
ELPA Syncer <=
- [elpa] externals/pyim b5e70bb176 8/8: Fix docstring warn., ELPA Syncer, 2022/06/08
- [elpa] externals/pyim 13d853d94f 1/8: pyim-candidates -> pyim-process-candidates, ELPA Syncer, 2022/06/08