[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 6a3f0e0 3/6: * pyim.el (pyim-exit-from-minibuffer)
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 6a3f0e0 3/6: * pyim.el (pyim-exit-from-minibuffer): Call quail-exit-from-minibuffer. |
Date: |
Sun, 28 Feb 2021 01:57:10 -0500 (EST) |
branch: externals/pyim
commit 6a3f0e083416e97be34af5554d45bb7a1c49c750
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* pyim.el (pyim-exit-from-minibuffer): Call quail-exit-from-minibuffer.
---
pyim.el | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/pyim.el b/pyim.el
index 7a4a168..0019d8d 100644
--- a/pyim.el
+++ b/pyim.el
@@ -1312,10 +1312,7 @@ pyim 使用函数 `pyim-start' 启动输入法的时候,会将变量
(defun pyim-exit-from-minibuffer ()
"Pyim 从 minibuffer 退出."
- (deactivate-input-method)
- (when (<= (minibuffer-depth) 1)
- ;; FIXME: Why do we remove a hook function we didn't add ourselves?
- (remove-hook 'minibuffer-exit-hook 'quail-exit-from-minibuffer)))
+ (quail-exit-from-minibuffer))
(defun pyim-restart ()
"重启 pyim,不建议用于编程环境.
- [elpa] externals/pyim updated (789c7eb -> e55fd0d), ELPA Syncer, 2021/02/28
- [elpa] externals/pyim 68289b9 1/6: * pyim-common.el (pyim-dcache-get-value-from-file): Do not use eval., ELPA Syncer, 2021/02/28
- [elpa] externals/pyim c9aaf72 2/6: * pyim.el (pyim-start): Update comment about kill-emacs-hook., ELPA Syncer, 2021/02/28
- [elpa] externals/pyim cf3f2e3 5/6: * pyim.el (pyim-cstring-split-to-string-1): use pyim-cstring-split-to-list delete-dups argument., ELPA Syncer, 2021/02/28
- [elpa] externals/pyim d8e6a5b 4/6: * pyim.el (pyim-cstring-split-to-list): Add delete-dups and prefer-short-word arguments., ELPA Syncer, 2021/02/28
- [elpa] externals/pyim 6a3f0e0 3/6: * pyim.el (pyim-exit-from-minibuffer): Call quail-exit-from-minibuffer.,
ELPA Syncer <=
- [elpa] externals/pyim e55fd0d 6/6: * pyim.el (pyim-ivy-cregexp): New function., ELPA Syncer, 2021/02/28