]> git.eshelyaron.com Git - emacs.git/commitdiff
* admin/admin.el (set-version): Handle malformed NEWS markup.
authorGlenn Morris <rgm@gnu.org>
Thu, 25 Mar 2021 18:48:13 +0000 (11:48 -0700)
committerGlenn Morris <rgm@gnu.org>
Thu, 25 Mar 2021 18:48:13 +0000 (11:48 -0700)
admin/admin.el

index 9be6f4a60713a87136e483812d8aa8cbdd645bf9..d75612cb51f52204efde5245dcdb77c04497814c 100644 (file)
@@ -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!"))))