Commit 3f9e3ef3 authored by Xue Fuqiao's avatar Xue Fuqiao

Add the "use strict;" and "use warnings;" pragmas.

* admin/make-emacs:
* admin/build-configs: Add the "use strict;" and "use warnings;" pragmas.
parent 411bf4a4
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.
......
......@@ -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."
......
......@@ -20,6 +20,8 @@
require 5;
use strict;
use warnings;
use Getopt::Long;
use File::Basename;
use Cwd;
......
......@@ -21,6 +21,8 @@
require 5;
use strict;
use warnings;
use Getopt::Long;
use File::Basename;
use Cwd;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment