emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/emacs-gc-stats 0725079b75 13/24: Fix linter warnings


From: ELPA Syncer
Subject: [elpa] externals/emacs-gc-stats 0725079b75 13/24: Fix linter warnings
Date: Sat, 10 Jun 2023 12:58:45 -0400 (EDT)

branch: externals/emacs-gc-stats
commit 0725079b75b565ba260389766dabb775f7b8496b
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>

    Fix linter warnings
    
    * emacs-gc-stats.el: Add version, URL, and requires.
    (emacs-gc-stats-mode): Add autoload.
---
 emacs-gc-stats.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/emacs-gc-stats.el b/emacs-gc-stats.el
index 1da4c24f9b..8e3f91f059 100644
--- a/emacs-gc-stats.el
+++ b/emacs-gc-stats.el
@@ -3,6 +3,10 @@
 ;; Copyright (C) 2023  Ihor Radchenko
 
 ;; Author: Ihor Radchenko <yantar92@posteo.net>
+;; URL: https://git.sr.ht/~yantar92/emacs-gc-stats
+;; Package-Requires: ((emacs "25.1"))
+
+;; Version: 1.0
 
 ;; This program is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by
@@ -185,6 +189,7 @@ Otherwise, collect symbol."
              (> (time-to-seconds (current-idle-time)) 
emacs-gc-stats-idle-delay))
     (cl-incf emacs-gc-stats--idle-tic)))
 
+;;;###autoload
 (define-minor-mode emacs-gc-stats-mode
   "Toggle collecting Emacs GC statistics."
   :global t



reply via email to

[Prev in Thread] Current Thread [Next in Thread]