From a05d7840f0e42f12939cfa106d37d6930349fa7a Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 8 Jan 2025 05:37:04 +0100 Subject: [PATCH] ; Fix file headers and footers * lisp/emacs-lisp/igc.el: Fix file header and footer. * test/src/igc-tests.el: Add copyright and license statement. --- .clang-tidy | 2 +- admin/IGC-TODO | 2 +- lisp/emacs-lisp/igc.el | 5 +++-- test/src/igc-tests.el | 23 ++++++++++++++++++++++- 4 files changed, 27 insertions(+), 5 deletions(-) diff --git a/.clang-tidy b/.clang-tidy index 6ae8239e5d3..2d01c6d0095 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -7,4 +7,4 @@ FormatStyle: '' CheckOptions: - key: bugprone-unused-return-value value: 'mps_.*' -... \ No newline at end of file +... diff --git a/admin/IGC-TODO b/admin/IGC-TODO index bc7b592b488..3bec83fa5a4 100644 --- a/admin/IGC-TODO +++ b/admin/IGC-TODO @@ -10,4 +10,4 @@ Todo list for scratch/igc - Make native compilation work on macOS. (Might be fixed with Helmut's exact root approach, but can't check because Homebrew libgccjit 14.1 - makes problems when configuring (libgcc_s.dylib not found)). \ No newline at end of file + makes problems when configuring (libgcc_s.dylib not found)). diff --git a/lisp/emacs-lisp/igc.el b/lisp/emacs-lisp/igc.el index 86216d840ce..0fe8e39cea1 100644 --- a/lisp/emacs-lisp/igc.el +++ b/lisp/emacs-lisp/igc.el @@ -1,5 +1,4 @@ -;; -*- lexical-binding: t; symbol-packagaes: nil -*- -;;; memory-report.el --- Short function summaries -*- lexical-binding: t -*- +;;; igc.el --- Short function summaries -*- lexical-binding: t -*- ;; Copyright (C) 2024-2025 Free Software Foundation, Inc. @@ -278,3 +277,5 @@ the changes to snapshot A. See the modes's help." (setq igc--collect-timer (run-at-time nil secs #'igc--collect-stats))) (provide 'igc) + +;;; igc.el ends here. diff --git a/test/src/igc-tests.el b/test/src/igc-tests.el index 59a0cb83909..2ef862dd77f 100644 --- a/test/src/igc-tests.el +++ b/test/src/igc-tests.el @@ -1,4 +1,23 @@ -;;; igc-tests.el --- tests for src/igc.c -*- lexical-binding: t -*- +;;; igc-tests.el --- tests for src/igc.c -*- lexical-binding: t -*- + +;; Copyright (C) 2024-2025 Free Software Foundation, Inc. + +;; This file is part of GNU Emacs. + +;; GNU Emacs is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. + +;; GNU Emacs is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs. If not, see . + +;;; Code: (require 'ert) @@ -13,3 +32,5 @@ (should (equal (igc--set-commit-limit nil) nil)) (should (equal (assoc-string "commit-limit" (igc-info)) '("commit-limit" 1 -1 0)))) + +;;; igc-tests.el ends here.