aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorPaul Eggert2015-11-19 08:14:00 -0800
committerPaul Eggert2015-11-19 08:14:51 -0800
commitc8404f48a33ad39bca57e1442e23fc02573aed20 (patch)
tree8c1e884287a5d768a91fd7de1e0891357e1b8097 /modules
parent80f19fb898b574b345b908dfd6a98c965de4136f (diff)
downloademacs-c8404f48a33ad39bca57e1442e23fc02573aed20.tar.gz
emacs-c8404f48a33ad39bca57e1442e23fc02573aed20.zip
Add copyright notices to module code
Put them in the usual format for GNU Emacs copyright notices.
Diffstat (limited to 'modules')
-rw-r--r--modules/mod-test/Makefile18
-rw-r--r--modules/mod-test/mod-test.c19
-rw-r--r--modules/mod-test/test.el21
-rwxr-xr-xmodules/modhelp.py20
4 files changed, 75 insertions, 3 deletions
diff --git a/modules/mod-test/Makefile b/modules/mod-test/Makefile
index 18778f00599..654c22a7e33 100644
--- a/modules/mod-test/Makefile
+++ b/modules/mod-test/Makefile
@@ -1,3 +1,21 @@
1# Test GNU Emacs modules.
2
3# Copyright 2015 Free Software Foundation, Inc.
4
5# This file is part of GNU Emacs.
6
7# GNU Emacs is free software: you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation, either version 3 of the License, or
10# (at your option) any later version.
11
12# GNU Emacs is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16
17# You should have received a copy of the GNU General Public License
18# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
1 19
2ROOT = ../.. 20ROOT = ../..
3 21
diff --git a/modules/mod-test/mod-test.c b/modules/mod-test/mod-test.c
index db5516ee553..04b6122cafb 100644
--- a/modules/mod-test/mod-test.c
+++ b/modules/mod-test/mod-test.c
@@ -1,3 +1,22 @@
1/* Test GNU Emacs modules.
2
3Copyright 2015 Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
19
1#include <assert.h> 20#include <assert.h>
2#include <stdio.h> 21#include <stdio.h>
3#include <module.h> 22#include <module.h>
diff --git a/modules/mod-test/test.el b/modules/mod-test/test.el
index 1242b6a2ec2..ed584ebb95e 100644
--- a/modules/mod-test/test.el
+++ b/modules/mod-test/test.el
@@ -1,6 +1,21 @@
1;; 1;;; Test GNU Emacs modules.
2;; Dynamic modules tests 2
3;; 3;; Copyright 2015 Free Software Foundation, Inc.
4
5;; This file is part of GNU Emacs.
6
7;; GNU Emacs is free software: you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation, either version 3 of the License, or
10;; (at your option) any later version.
11
12;; GNU Emacs is distributed in the hope that it will be useful,
13;; but WITHOUT ANY WARRANTY; without even the implied warranty of
14;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15;; GNU General Public License for more details.
16
17;; You should have received a copy of the GNU General Public License
18;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
4 19
5(require 'ert) 20(require 'ert)
6 21
diff --git a/modules/modhelp.py b/modules/modhelp.py
index 57bed5023c7..5afe8f24e95 100755
--- a/modules/modhelp.py
+++ b/modules/modhelp.py
@@ -1,4 +1,24 @@
1#!/usr/bin/env python 1#!/usr/bin/env python
2
3# Module helper script.
4
5# Copyright 2015 Free Software Foundation, Inc.
6
7# This file is part of GNU Emacs.
8
9# GNU Emacs is free software: you can redistribute it and/or modify
10# it under the terms of the GNU General Public License as published by
11# the Free Software Foundation, either version 3 of the License, or
12# (at your option) any later version.
13
14# GNU Emacs is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17# GNU General Public License for more details.
18
19# You should have received a copy of the GNU General Public License
20# along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
21
2import os 22import os
3import string 23import string
4import subprocess as sp 24import subprocess as sp