aboutsummaryrefslogtreecommitdiffstats
path: root/admin/admin.el
diff options
context:
space:
mode:
Diffstat (limited to 'admin/admin.el')
-rw-r--r--admin/admin.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/admin.el b/admin/admin.el
index baf18992953..5e5e57cb3ce 100644
--- a/admin/admin.el
+++ b/admin/admin.el
@@ -75,6 +75,9 @@ Root must be the root of an Emacs source tree."
75 (interactive "DEmacs root directory: \nsVersion number: ") 75 (interactive "DEmacs root directory: \nsVersion number: ")
76 (unless (file-exists-p (expand-file-name "src/emacs.c" root)) 76 (unless (file-exists-p (expand-file-name "src/emacs.c" root))
77 (user-error "%s doesn't seem to be the root of an Emacs source tree" root)) 77 (user-error "%s doesn't seem to be the root of an Emacs source tree" root))
78 ;; There's also a "version 3" (standing for GPLv3) at the end of
79 ;; `README', but since `set-version-in-file' only replaces the first
80 ;; occurence, it won't be replaced.
78 (set-version-in-file root "README" version 81 (set-version-in-file root "README" version
79 (rx (and "version" (1+ space) 82 (rx (and "version" (1+ space)
80 (submatch (1+ (in "0-9.")))))) 83 (submatch (1+ (in "0-9."))))))