branch: externals/num3-mode commit 75ce484a8a81fb056196952f008991c8fd532a2c Author: Michal Nazarewicz <min...@mina86.com> Commit: Michal Nazarewicz <min...@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))