[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/num3-mode 75ce484a8a 3/4: Fix deprecation warning in ‘
From: |
Michał Nazarewicz |
Subject: |
[elpa] externals/num3-mode 75ce484a8a 3/4: Fix deprecation warning in ‘define-minor-mode’ usage |
Date: |
Thu, 4 Aug 2022 15:57:43 -0400 (EDT) |
branch: externals/num3-mode
commit 75ce484a8a81fb056196952f008991c8fd532a2c
Author: Michal Nazarewicz <mina86@mina86.com>
Commit: Michal Nazarewicz <mina86@mina86.com>
Fix deprecation warning in ‘define-minor-mode’ usage
* num3-mode.el (num3-mode): use keyword rather than deprecated
positional arguments to ‘define-minor-mode’
---
num3-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/num3-mode.el b/num3-mode.el
index 2288a57e36..284d4e9908 100644
--- a/num3-mode.el
+++ b/num3-mode.el
@@ -92,7 +92,7 @@ Groups are highlighted alternately using `num3-face-odd' and
default) is the one used for the group closest to the decimal
point, i.e. groups are counted starting with one outwards from
the (place where) decimal point (would be) is."
- nil " num3" nil
+ :lighter " num3"
(if num3-mode
(unless (assoc 'num3--matcher font-lock-keywords)
(font-lock-add-keywords nil '(num3--matcher) 'append))