branch: externals/company-statistics commit b044735d27134282f339621519dd7dc52e1378dc Author: Durant Schoon <durant.sch...@gmail.com> Commit: Durant Schoon <durant.sch...@gmail.com>
Fix deprecation warning: use keyword arguments in define-minor-mode - Replace positional arguments with keyword arguments in define-minor-mode - Use :init-value, :lighter, and :keymap instead of positional args - Fixes compatibility with modern Emacs versions - Addresses deprecation warnings for define-minor-mode usage --- company-statistics.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/company-statistics.el b/company-statistics.el index 7c6326aab7..1e3eff1da2 100644 --- a/company-statistics.el +++ b/company-statistics.el @@ -346,7 +346,9 @@ preserved automatically between Emacs sessions in the default configuration. You can customize this behavior with `company-statistics-auto-save', `company-statistics-auto-restore' and `company-statistics-file'." - nil nil nil + :init-value nil + :lighter nil + :keymap nil :global t (if company-statistics-mode (progn