]> git.eshelyaron.com Git - emacs.git/commitdiff
* admin/admin.el (set-version): Trap yet another NEWS error.
authorGlenn Morris <rgm@gnu.org>
Wed, 19 Aug 2020 19:52:08 +0000 (20:52 +0100)
committerGlenn Morris <rgm@gnu.org>
Wed, 19 Aug 2020 19:52:08 +0000 (20:52 +0100)
admin/admin.el

index 923f01008202a937cee94c03a39efe7273e40bfc..310cd54e9571c646f182c89979d5b1cbcfb9f235 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 "^\\(\\+\\+\\+ *\\|--- *\\)$" 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!"))))