1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
| | From 5c2ade217134f6f20cd405447af20825e5b44513 Mon Sep 17 00:00:00 2001
From: tianshu <doglooksgood@gmail.com>
Date: Sat, 11 Dec 2021 02:06:35 +0800
Subject: [PATCH] update define-minor-mode usage
---
rime.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/rime.el b/rime.el
index 64a4d70..044ab97 100644
--- a/rime.el
+++ b/rime.el
@@ -1084,18 +1084,18 @@ Argument NAME ignored."
"Mode used in composition.
Should not be enabled manually."
- nil
- nil
- nil
+ :lighter nil
+ :init-value nil
+ :keymap nil
(if rime-active-mode
(rime-active-mode--init)
(rime-active-mode--uninit)))
(define-minor-mode rime-mode
"Mode used when input method is activated."
- nil
- nil
- rime-mode-map)
+ :lighter nil
+ :init-value nil
+ :keymap rime-mode-map)
;;;###autoload
(register-input-method "rime" "euc-cn" 'rime-activate rime-title)
|