aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorStephen Leake2019-09-10 03:37:51 -0700
committerStephen Leake2019-09-10 03:37:51 -0700
commit3d442312889ef2d14c07282d0aff6199d00cc165 (patch)
tree74034ca2dded6ed233d0701b4cb5c10a0b5e9034 /admin
parentac1a2e260e8ece34500b5879f766b4e54ee57b94 (diff)
parent74e9799bd89484b8d15bdd6597c68fc00d07e7f7 (diff)
downloademacs-3d442312889ef2d14c07282d0aff6199d00cc165.tar.gz
emacs-3d442312889ef2d14c07282d0aff6199d00cc165.zip
Merge commit '74e9799bd89484b8d15bdd6597c68fc00d07e7f7'
Diffstat (limited to 'admin')
-rw-r--r--admin/admin.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/admin/admin.el b/admin/admin.el
index d3a477fde80..5968e32b05e 100644
--- a/admin/admin.el
+++ b/admin/admin.el
@@ -147,6 +147,10 @@ Root must be the root of an Emacs source tree."
147 (unless (> (length newversion) 2) ; pretest or release candidate? 147 (unless (> (length newversion) 2) ; pretest or release candidate?
148 (with-temp-buffer 148 (with-temp-buffer
149 (insert-file-contents newsfile) 149 (insert-file-contents newsfile)
150 (when (re-search-forward "^\\* [^\n]*\n+ " nil t)
151 (display-warning 'admin
152 "NEWS file contains empty sections - remove them?"))
153 (goto-char (point-min))
150 (if (re-search-forward "^\\(\\+\\+\\+ *\\|--- *\\)$" nil t) 154 (if (re-search-forward "^\\(\\+\\+\\+ *\\|--- *\\)$" nil t)
151 (display-warning 'admin 155 (display-warning 'admin
152 "NEWS file still contains temporary markup. 156 "NEWS file still contains temporary markup.