Subject: [Patch] [GNU ELPA] rcirc-color: Fix bad minor mode definition

From: Thuna <[email-masked]>
Date: Tue, 04 Oct 2022 19:38:39 +0200

Currently, `define-minor-mode' signals an error upon evaluation.
Looking into it, it seems that is because there are not keyword
arguments given to it, which causes a problem according the docstring of
`define-minor-mode':
> If you provide BODY, then you must provide at least one keyword
> argument (e.g. ‘:lighter nil‘).

This patch should fix the issue.
>From 2c9ed7ccdf13396bec67bc4d411495dde64f1e98 Mon Sep 17 00:00:00 2001
From: Thuna <[email-masked]>
Date: Tue, 4 Oct 2022 19:31:48 +0200
Subject: [PATCH] Fix bad minor mode definition

* rcirc-color.el (rcirc-color-mode): Add a keyword argument to prevent
BODY from being interpreted as the variable value.
---
 rcirc-color.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rcirc-color.el b/rcirc-color.el
index a197fb82a2..b7baa5c0c5 100644
--- a/rcirc-color.el
+++ b/rcirc-color.el
@@ -176,6 +176,7 @@ commands."
 ;;;###autoload
 (define-minor-mode rcirc-color-mode
   "Enable the highlighting of nicknames."
+  :lighter nil
   (cond
    (rcirc-color-mode
     (advice-add 'rcirc-facify :around #'rcirc-color--facify)
-- 
2.35.1