diff options
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/admin.el | 4 |
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. |