diff options
| author | Xue Fuqiao | 2013-12-29 13:18:15 +0800 |
|---|---|---|
| committer | Xue Fuqiao | 2013-12-29 13:18:15 +0800 |
| commit | 3f9e3ef3fe78d0f28ed25a99af503ccfba38330f (patch) | |
| tree | ae2b4427bbd4d7d3c2607ce045abe0045a87d557 /admin | |
| parent | 411bf4a486ae5bfe32b8e10c6293f525905c0049 (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | admin/admin.el | 2 | ||||
| -rwxr-xr-x | admin/build-configs | 2 | ||||
| -rwxr-xr-x | admin/make-emacs | 2 |
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 @@ | |||
| 1 | 2013-12-29 Xue Fuqiao <xfq.free@gmail.com> | ||
| 2 | |||
| 3 | * make-emacs: | ||
| 4 | * build-configs: Add the "use strict;" and "use warnings;" pragmas. | ||
| 5 | |||
| 1 | 2013-12-28 Glenn Morris <rgm@gnu.org> | 6 | 2013-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. |
| 74 | Root must be the root of an Emacs source tree." | 75 | Root 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. |
| 166 | Root must be the root of an Emacs source tree." | 168 | 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 @@ | |||
| 20 | 20 | ||
| 21 | 21 | ||
| 22 | require 5; | 22 | require 5; |
| 23 | use strict; | ||
| 24 | use warnings; | ||
| 23 | use Getopt::Long; | 25 | use Getopt::Long; |
| 24 | use File::Basename; | 26 | use File::Basename; |
| 25 | use Cwd; | 27 | 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 @@ | |||
| 21 | 21 | ||
| 22 | 22 | ||
| 23 | require 5; | 23 | require 5; |
| 24 | use strict; | ||
| 25 | use warnings; | ||
| 24 | use Getopt::Long; | 26 | use Getopt::Long; |
| 25 | use File::Basename; | 27 | use File::Basename; |
| 26 | use Cwd; | 28 | use Cwd; |