Add the "use strict;" and "use warnings;" pragmas.
authorXue Fuqiao <xfq.free@gmail.com>
Sun, 29 Dec 2013 05:18:15 +0000 (13:18 +0800)
committerXue Fuqiao <xfq.free@gmail.com>
Sun, 29 Dec 2013 05:18:15 +0000 (13:18 +0800)
* admin/make-emacs:
* admin/build-configs: Add the "use strict;" and "use warnings;" pragmas.

admin/ChangeLog
admin/admin.el
admin/build-configs
admin/make-emacs

index 16365c9..877c813 100644 (file)
@@ -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.
index 13d1126..571bd82 100644 (file)
@@ -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."
index 8b738be..ac0d219 100755 (executable)
@@ -20,6 +20,8 @@
 
 
 require 5;
+use strict;
+use warnings;
 use Getopt::Long;
 use File::Basename;
 use Cwd;
index 58295c9..2bc62f8 100755 (executable)
@@ -21,6 +21,8 @@
 
 
 require 5;
+use strict;
+use warnings;
 use Getopt::Long;
 use File::Basename;
 use Cwd;