From: Glenn Morris Date: Thu, 25 Mar 2021 18:48:13 +0000 (-0700) Subject: * admin/admin.el (set-version): Handle malformed NEWS markup. X-Git-Tag: emacs-28.0.90~3098^2~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=38b127d32e;p=emacs.git * admin/admin.el (set-version): Handle malformed NEWS markup. --- diff --git a/admin/admin.el b/admin/admin.el index 9be6f4a6071..d75612cb51f 100644 --- a/admin/admin.el +++ b/admin/admin.el @@ -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!"))))