[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim d3b77fd4c4 2/3: * pyim.el (pyim-kill-emacs-hook-fu
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim d3b77fd4c4 2/3: * pyim.el (pyim-kill-emacs-hook-function): Alway return t. |
Date: |
Sat, 11 Jun 2022 06:57:49 -0400 (EDT) |
branch: externals/pyim
commit d3b77fd4c440634cdff1cecc6c8fea418f651c62
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* pyim.el (pyim-kill-emacs-hook-function): Alway return t.
---
pyim-process.el | 3 +--
pyim.el | 3 ++-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pyim-process.el b/pyim-process.el
index 82d8a9a1e6..b6b57c86e2 100644
--- a/pyim-process.el
+++ b/pyim-process.el
@@ -211,8 +211,7 @@ imobj 组合构成在一起,构成了 imobjs 这个概念。比如:
(defun pyim-process-save-dcaches (&optional force)
"PYIM 流程,保存 dcache."
(when force
- (pyim-dcache-save-caches))
- t)
+ (pyim-dcache-save-caches)))
(defun pyim-process-update (&optional force)
(pyim-dcache-update force))
diff --git a/pyim.el b/pyim.el
index bff910eaf2..7ecabb869d 100644
--- a/pyim.el
+++ b/pyim.el
@@ -273,7 +273,8 @@ pyim 使用函数 `pyim-activate' 启动输入法的时候,会将变量
(defun pyim-kill-emacs-hook-function ()
"Pyim function which is used in `kill-emacs-hook'."
- (pyim-process-save-dcaches t))
+ (pyim-process-save-dcaches t)
+ t)
;; ** 取消激活功能
(defun pyim-deactivate ()