summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorXue Fuqiao <xfq.free@gmail.com>2013-12-29 13:18:15 +0800
committerXue Fuqiao <xfq.free@gmail.com>2013-12-29 13:18:15 +0800
commit3f9e3ef3fe78d0f28ed25a99af503ccfba38330f (patch)
treeae2b4427bbd4d7d3c2607ce045abe0045a87d557 /admin
parent411bf4a486ae5bfe32b8e10c6293f525905c0049 (diff)
downloademacs-3f9e3ef3fe78d0f28ed25a99af503ccfba38330f.tar.gz
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 @@
+2013-12-29 Xue Fuqiao <xfq.free@gmail.com>
+
+ * make-emacs:
+ * build-configs: Add the "use strict;" and "use warnings;" pragmas.
+
2013-12-28 Glenn Morris <rgm@gnu.org>
* 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."
(user-error "Version not found in %s" file))
(replace-match (format "%s" version) nil nil nil 1))
+;; TODO report the progress
(defun set-version (root version)
"Set Emacs version to VERSION in relevant files under ROOT.
Root must be the root of an Emacs source tree."
@@ -161,6 +162,7 @@ Root must be the root of an Emacs source tree."
;; Note this makes some assumptions about form of short copyright.
+;; TODO report the progress
(defun set-copyright (root copyright)
"Set Emacs short copyright to COPYRIGHT in relevant files under ROOT.
Root 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 @@
require 5;
+use strict;
+use warnings;
use Getopt::Long;
use File::Basename;
use 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 @@
require 5;
+use strict;
+use warnings;
use Getopt::Long;
use File::Basename;
use Cwd;