aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorXue Fuqiao2013-12-29 13:18:15 +0800
committerXue Fuqiao2013-12-29 13:18:15 +0800
commit3f9e3ef3fe78d0f28ed25a99af503ccfba38330f (patch)
treeae2b4427bbd4d7d3c2607ce045abe0045a87d557 /admin
parent411bf4a486ae5bfe32b8e10c6293f525905c0049 (diff)
downloademacs-3f9e3ef3fe78d0f28ed25a99af503ccfba38330f.tar.gz
emacs-3f9e3ef3fe78d0f28ed25a99af503ccfba38330f.zip
Add the "use strict;" and "use warnings;" pragmas.
* admin/make-emacs: * admin/build-configs: Add the "use strict;" and "use warnings;" pragmas.
Diffstat (limited to 'admin')
-rw-r--r--admin/ChangeLog5
-rw-r--r--admin/admin.el2
-rwxr-xr-xadmin/build-configs2
-rwxr-xr-xadmin/make-emacs2
4 files changed, 11 insertions, 0 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog
index 16365c9761b..877c813513c 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,8 @@
12013-12-29 Xue Fuqiao <xfq.free@gmail.com>
2
3 * make-emacs:
4 * build-configs: Add the "use strict;" and "use warnings;" pragmas.
5
12013-12-28 Glenn Morris <rgm@gnu.org> 62013-12-28 Glenn Morris <rgm@gnu.org>
2 7
3 * admin.el (cusver-scan): Warn about missing :types. 8 * admin.el (cusver-scan): Warn about missing :types.
diff --git a/admin/admin.el b/admin/admin.el
index 13d1126a8d1..571bd824143 100644
--- a/admin/admin.el
+++ b/admin/admin.el
@@ -69,6 +69,7 @@ Optional argument DATE is the release date, default today."
69 (user-error "Version not found in %s" file)) 69 (user-error "Version not found in %s" file))
70 (replace-match (format "%s" version) nil nil nil 1)) 70 (replace-match (format "%s" version) nil nil nil 1))
71 71
72;; TODO report the progress
72(defun set-version (root version) 73(defun set-version (root version)
73 "Set Emacs version to VERSION in relevant files under ROOT. 74 "Set Emacs version to VERSION in relevant files under ROOT.
74Root must be the root of an Emacs source tree." 75Root must be the root of an Emacs source tree."
@@ -161,6 +162,7 @@ Root must be the root of an Emacs source tree."
161 162
162 163
163;; Note this makes some assumptions about form of short copyright. 164;; Note this makes some assumptions about form of short copyright.
165;; TODO report the progress
164(defun set-copyright (root copyright) 166(defun set-copyright (root copyright)
165 "Set Emacs short copyright to COPYRIGHT in relevant files under ROOT. 167 "Set Emacs short copyright to COPYRIGHT in relevant files under ROOT.
166Root must be the root of an Emacs source tree." 168Root must be the root of an Emacs source tree."
diff --git a/admin/build-configs b/admin/build-configs
index 8b738befb18..ac0d219fac9 100755
--- a/admin/build-configs
+++ b/admin/build-configs
@@ -20,6 +20,8 @@
20 20
21 21
22require 5; 22require 5;
23use strict;
24use warnings;
23use Getopt::Long; 25use Getopt::Long;
24use File::Basename; 26use File::Basename;
25use Cwd; 27use Cwd;
diff --git a/admin/make-emacs b/admin/make-emacs
index 58295c9607a..2bc62f8cbff 100755
--- a/admin/make-emacs
+++ b/admin/make-emacs
@@ -21,6 +21,8 @@
21 21
22 22
23require 5; 23require 5;
24use strict;
25use warnings;
24use Getopt::Long; 26use Getopt::Long;
25use File::Basename; 27use File::Basename;
26use Cwd; 28use Cwd;