unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 4f905ca0bfa36c4a413b66f715210535f85a3366 899 bytes (raw)
name: gnu/packages/patches/emacs-rime-update-define-minor-mode-usage.patch 	 # note: path name is non-authoritative(*)

 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)

debug log:

solving 4f905ca0bf ...
found 4f905ca0bf in https://yhetil.org/guix-patches/y76mtasm2dd.wl-hako@ultrarare.space/

applying [1/1] https://yhetil.org/guix-patches/y76mtasm2dd.wl-hako@ultrarare.space/
diff --git a/gnu/packages/patches/emacs-rime-update-define-minor-mode-usage.patch b/gnu/packages/patches/emacs-rime-update-define-minor-mode-usage.patch
new file mode 100644
index 0000000000..4f905ca0bf

1:22: trailing whitespace.
 
1:33: trailing whitespace.
 
1:42: trailing whitespace.
 
Checking patch gnu/packages/patches/emacs-rime-update-define-minor-mode-usage.patch...
Applied patch gnu/packages/patches/emacs-rime-update-define-minor-mode-usage.patch cleanly.
warning: 3 lines add whitespace errors.

index at:
100644 4f905ca0bfa36c4a413b66f715210535f85a3366	gnu/packages/patches/emacs-rime-update-define-minor-mode-usage.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).