From 5c2ade217134f6f20cd405447af20825e5b44513 Mon Sep 17 00:00:00 2001 From: tianshu 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)