From 2336dd22f33a50632737b3f967860f7f59733d32 Mon Sep 17 00:00:00 2001 From: Pierre-Antoine Rouby Date: Mon, 18 Aug 2025 15:32:16 +0200 Subject: [PATCH] tools: Update licence emacs script. --- tools/license.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/license.el b/tools/license.el index 892e6734..b391de9c 100644 --- a/tools/license.el +++ b/tools/license.el @@ -1,5 +1,5 @@ ;; license.el -- Pamhyr -;; Copyright (C) 2023-2024 INRAE +;; Copyright (C) 2023-2025 INRAE ;; ;; 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 @@ -24,7 +24,7 @@ (let ((filename (pamhyr-current-filename))) (insert (format "# %s -- Pamhyr -# Copyright (C) 2024 INRAE +# Copyright (C) 2025 INRAE # # 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 @@ -46,8 +46,10 @@ (interactive) (let ((pos (point))) (goto-char (point-min)) - (while (re-search-forward "Copyright (C) 2023 INRAE" nil t) - (replace-match "Copyright (C) 2023-2024 INRAE")) + (while (re-search-forward "Copyright (C) 2023-2025 INRAE" nil t) + (replace-match "Copyright (C) 2023-2025 INRAE")) + (while (re-search-forward "Copyright (C) 2024 INRAE" nil t) + (replace-match "Copyright (C) 2024-2025 INRAE")) (goto-char pos))) (defun pamhyr-root-dir-rec-aux (dir)