[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/pyim 99278a0: * pyim-common.el (pyim-add-unread-command
From: |
ELPA Syncer |
Subject: |
[elpa] externals/pyim 99278a0: * pyim-common.el (pyim-add-unread-command-events): use when instead if. |
Date: |
Tue, 1 Jun 2021 00:57:11 -0400 (EDT) |
branch: externals/pyim
commit 99278a0ea0e861089942d68cb4615194dd0a95fe
Author: Feng Shu <tumashu@163.com>
Commit: Feng Shu <tumashu@163.com>
* pyim-common.el (pyim-add-unread-command-events): use when instead if.
---
pyim-common.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pyim-common.el b/pyim-common.el
index c431e8b..8003582 100644
--- a/pyim-common.el
+++ b/pyim-common.el
@@ -181,7 +181,8 @@ duplicates. When RESET is non-nil, the events in
`unread-command-events' are first discarded.
This function is a fork of `quail-add-unread-command-events'."
- (if reset (setq unread-command-events nil))
+ (when reset
+ (setq unread-command-events nil))
(setq unread-command-events
(if (characterp key)
(cons (cons 'no-record key) unread-command-events)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/pyim 99278a0: * pyim-common.el (pyim-add-unread-command-events): use when instead if.,
ELPA Syncer <=