branch: externals/rich-minority
commit 3df1b3b27d7a587d78a8f06b657544df59bfd28b
Author: Billy.Zheng <vil...@gmail.com>
Commit: Billy.Zheng <vil...@gmail.com>

    Fix emacs 28 warning.
---
 rich-minority.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/rich-minority.el b/rich-minority.el
index 9be15d19ed..55028288fa 100644
--- a/rich-minority.el
+++ b/rich-minority.el
@@ -270,7 +270,11 @@ if the mode line string is empty."
   "Construct containing `minor-mode-alist' which we removed from the 
mode-line.")
 
 ;;;###autoload
-(define-minor-mode rich-minority-mode nil nil " $"
+(define-minor-mode rich-minority-mode
+  "Rich minority mode."
+  :init-value nil
+  :keymap nil
+  :lighter " $"
   :global t
   (if rich-minority-mode
       (let ((place (or (member 'minor-mode-alist mode-line-modes)

Reply via email to