From: Xue Fuqiao Date: Sun, 29 Dec 2013 05:18:15 +0000 (+0800) Subject: Add the "use strict;" and "use warnings;" pragmas. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~138 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3f9e3ef3fe78d0f28ed25a99af503ccfba38330f;p=emacs.git Add the "use strict;" and "use warnings;" pragmas. * admin/make-emacs: * admin/build-configs: Add the "use strict;" and "use warnings;" pragmas. --- 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 + + * make-emacs: + * build-configs: Add the "use strict;" and "use warnings;" pragmas. + 2013-12-28 Glenn Morris * 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;