branch: externals/emacs-gc-stats commit 0725079b75b565ba260389766dabb775f7b8496b Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@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 <yanta...@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