* admin/admin.el (set-version): Handle malformed NEWS markup.
This commit is contained in:
parent
0d7e2a993e
commit
38b127d32e
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ Root must be the root of an Emacs source tree."
|
|||
(display-warning 'admin
|
||||
"NEWS file contains empty sections - remove them?"))
|
||||
(goto-char (point-min))
|
||||
(if (re-search-forward "^\\(\\+\\+\\+ *$\\|--- *$\\|Temporary note:\\)" nil t)
|
||||
(if (re-search-forward "^\\(\\+\\+\\+? *$\\|---? *$\\|Temporary note:\\)" nil t)
|
||||
(display-warning 'admin
|
||||
"NEWS file still contains temporary markup.
|
||||
Documentation changes might not have been completed!"))))
|
||||
|
|
Loading…
Add table
Reference in a new issue