summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBilly.Zheng <vil963@gmail.com>2021-10-24 22:58:19 +0800
committerBilly.Zheng <vil963@gmail.com>2021-10-24 22:58:19 +0800
commit3df1b3b27d7a587d78a8f06b657544df59bfd28b (patch)
treee36e37a80b9adc4d03e500572e8dd1745c1f061c
parenta03e693f6f9232cf75363aaaf1cb041f21675c19 (diff)
Fix emacs 28 warning.
-rw-r--r--rich-minority.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/rich-minority.el b/rich-minority.el
index 9be15d1..5502828 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)