summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Malabarba <453029+Malabarba@users.noreply.github.com>2024-09-24 20:17:48 -0300
committerGitHub <noreply@github.com>2024-09-24 20:17:48 -0300
commit77cf5ec620aaef18385d2e1d2dad05b4f63dad95 (patch)
treee36e37a80b9adc4d03e500572e8dd1745c1f061c
parenta03e693f6f9232cf75363aaaf1cb041f21675c19 (diff)
parent3df1b3b27d7a587d78a8f06b657544df59bfd28b (diff)
Merge pull request #24 from zw963/masterexternals/rich-minority
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)